This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: how does ld interpret ELF R_PPC_REL32?
It looks to me like the P term is actually computed this way:
P = run time virtual address of the section containing the relocation
+
r_offset of the relocation record
This was taken from a particular O/S's dynamic relocating loader, and it makes all of the calculations work.
Does this seem correct?
--
Sent from the Gnu - Binutils - Users forum at Nabble.com:
http://www.nabble.com/how-does-ld-interpret-ELF-R_PPC_REL32--t422151.html#a1182708