bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ld 2.16 bug in linker script ?


From: Alan Modra
Subject: Re: ld 2.16 bug in linker script ?
Date: Mon, 10 Oct 2005 09:47:37 +0930
User-agent: Mutt/1.4i

On Sun, Oct 09, 2005 at 05:28:15PM +0200, Philippe Biondi wrote:
> but I think these two linker scripts should be equivalent.

No, you haven't specified where .got should go (*).  ld is free to place
unspecified sections where it likes.

*) Which is quite foolish, given that you defined a symbol that belongs
in .got, __GLOBAL_OFFSET_TABLE__.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre




reply via email to

[Prev in Thread] Current Thread [Next in Thread]