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: GNU LD: Linker script generating incorrect address


On Tue, May 21, 2013 at 11:27:19AM +0200, Jens Bauer wrote:
> -But if ld needs to be compatible with an older version, the older
> version might not handle these as I expect them to be handled.

Yes.

> ...So if I didn't use SIZEOF (which I do now), it seems the problem
> could be solved by using LD_FEATURE("SANE_EXPR"), am I right ?

No, that only affects the way absolute symbols and numbers are
treated.  Symbols defined inside output section statements remain
relative.

-- 
Alan Modra
Australia Development Lab, IBM


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