This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Change in .ld syntax or a bug?
On Thu, Sep 15, 2005 at 10:50:26PM +0930, Alan Modra wrote:
> On Thu, Sep 15, 2005 at 02:17:08PM +0200, Andrew Lunn wrote:
> > It looks like ld is happy with sections which explicit set there
> > address, eg .vectors and .data, but sections which just follow on from
> > the previous section it is not happy with and seems to put them
> > outside of memory.
> >
> > Has there recently been a change in syntax? Or is this a bug?
>
> A bug, I suspect. Do you have anything in .vectors?
Humm, interesting. No, its empty according to --print-map.
I edited target.ld and removed the .vectors section and gave .text a
fixed start address. It then linked happily.
So it looks like ld cannot correctly follow on from an empty section.
Andrew