>   add1 r1, segment_base, (a - 40)
>   add2 r1, 40
read this as 
    add2 r1, the value of j             

> 
> Since 'a' is at the boundary of segment so 'a - 40'
> causes relocation overflow.
> 
> But the same code works without -O2, because that
> generates code like
>   add1 r1, segment_base, a
>   add2 r1, -40
>   add2 r1, 40
ditto here.

thanks



                
__________________________________ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 

Reply via email to