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: hppa, global symbols and the BL instruction


On Sun, Dec 11, 2005 at 11:18:30AM +0100, Florian Weimer wrote:
> It seems that GAS cannot encode the necessary relocation if the symbol
> is more than 64K instructions away from the start of the object file.

It should be able to.  On RELA targets the relocation addend isn't
stored in the text section.  If you have a relocation, the value written
to the field is generally not important (because it will be overwritten
by the linker).

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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