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 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


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