This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: GNU gcc ld script problem
- From: Ian Lance Taylor <ian at wasabisystems dot com>
- To: Nathan Field <ndf at ghs dot com>
- Cc: Daniel Jacobowitz <dan at debian dot org>, binutils at sources dot redhat dot com
- Date: 05 Feb 2004 13:04:27 -0500
- Subject: Re: GNU gcc ld script problem
- References: <Pine.LNX.4.44.0402050933110.7920-100000@zcar.ghs.com>
Nathan Field <ndf@ghs.com> writes:
> But the contents of the .stub section *are* the PLT for each
> object. I should have been clearer about that. Perhaps the real bug is
> that the compiler is associating .plt sections in objects to .stub
> sections? As far as I can tell the only thing which is put into the .stub
> section is the PLT, but I've only looked at fairly simple test cases.
In what sense is your .stub section the PLT? When using ELF the PLT
requires special dynamic relocations. Those are normally created
automatically by the linker when it builds the PLT. Do those exist
for your .stub section?
Ian