Re: relocation calculation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

> Hi Nathan:
> 
> When I link OBJ compiled by Tornado2.2 for PPC,
> I meet one relocation type that its value is 26(R_PPC_REL32),

I am not sure about the PPC ABI Tornado uses . In any case R_PPC_REL32
should be a 32 bit PC relative relocation :(should be S + A - P ) kind
of a calculation.

S= final symbol address ( the symbol being relocated. ) 
A= Addend for the relocation if any. 
P= Position where relocation is being applied.  


Also it might be better if you posted such questions to the binutils
list ( binutils@xxxxxxxxxxxxxxxxxx ) since these are more low level
questions and not a question to do with using GCC. 

HTH 
cheers
Ramana


> can you tell me it's relocation calculation?
> 
> thanks,
> -Abel


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux