how does ld interpret ELF R_PPC_REL32?

ddunkle (sent by Nabble.com) lists@nabble.com
Wed Oct 19 03:43:00 GMT 2005


Thanks again. Yes, I have seen the adjusted addends. I have tried this and I can't get an answer I understand. I do this:

0x100000 + 1d7d4 - 1bf0 = 11BBE4
0x100000 + 1d7e4 - 1bf4 = 11BBF0

where 0x100000 is the load address from the map file of B. But these values don't seem correct. The code being referred to is at 0x11d7d4 and 0x11d7e0 respectively. And the relocated code contains a different number, not these.

Sigh, I don't know quite what to do. Thanks again.
--
Sent from the Gnu - Binutils - Users forum at Nabble.com:
http://www.nabble.com/how-does-ld-interpret-ELF-R_PPC_REL32--t422151.html#a1159068



More information about the Binutils mailing list