GNU LD: Linker script generating incorrect address
Alan Modra
amodra@gmail.com
Tue May 21 11:43:00 GMT 2013
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
More information about the Binutils
mailing list