This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: how does ld interpret ELF R_PPC_REL32?


Thanks, but I am not sure that I clearly understand the statement about "vma of the .text section for that input file". In this case, I have an input object module, let's call it A, that compiled and never linked. So its text essentially starts at zero. Object module A is then linked with other object modules to form object module B, not a fully linked executable. 

Object module A contains a text section starting at zero, since it is not fully linked. The text section of object module A is linked into B at an offset into B's text section, where the offset in this case is 0x1d77c

Do I use 1d77c, the start of object module A's text section within object module B's text section?
--
Sent from the Gnu - Binutils - Users forum at Nabble.com:
http://www.nabble.com/how-does-ld-interpret-ELF-R_PPC_REL32--t422151.html#a1157999


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]