GNU LD: Linker script generating incorrect address

Alan Modra amodra@gmail.com
Tue May 21 05:30:00 GMT 2013


On Tue, May 21, 2013 at 06:26:02AM +0200, Jens Bauer wrote:
> Am I doing something completely wrong anywhere ?

Yes, you posted here without first reading the ld info doc.

You're defining symbols inside output section statements.  They don't
have the values you think they do.  In particular, your _lustack is a
symbol relative to the start of .ustack.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list