how does ld interpret ELF R_PPC_REL32?
ddunkle (sent by Nabble.com)
lists@nabble.com
Fri Oct 21 17:19:00 GMT 2005
So in summary the actual calculation is this then:
S = run time virtual address of the symbol in the final linked image; for a section symbol this is the run time virtual address of the section of the input file to the link
A = addend in relocation record
P = run time virtual address of the section containing the relocation
+
r_offset of the relocation record
S + A - P
--
Sent from the Gnu - Binutils - Users forum at Nabble.com:
http://www.nabble.com/how-does-ld-interpret-ELF-R_PPC_REL32--t422151.html#a1189942
More information about the Binutils
mailing list