From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11638 invoked by alias); 16 Sep 2005 07:34:02 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 11583 invoked by uid 22791); 16 Sep 2005 07:33:54 -0000 Received: from ascomax.hasler.ascom.ch (HELO ascomax.hasler.ascom.ch) (139.79.135.1) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Fri, 16 Sep 2005 07:33:54 +0000 Received: from eiger.ma.tech.ascom.ch (eiger.ma.tech.ascom.ch [139.79.100.1]) by ascomax.hasler.ascom.ch (8.12.9-20030924/8.12.9) with ESMTP id j8G7Xcua024697; Fri, 16 Sep 2005 09:33:44 +0200 (MEST) Received: from [139.79.100.143] (helo=donkey.ma.tech.ascom.ch) by eiger.ma.tech.ascom.ch with esmtp (Exim 3.16 #1) id 1EGAj3-0001Ux-00; Fri, 16 Sep 2005 09:33:37 +0200 Received: from lunn by donkey.ma.tech.ascom.ch with local (Exim 3.36 #1 (Debian)) id 1EGAi7-0000rk-00; Fri, 16 Sep 2005 09:32:39 +0200 Date: Fri, 16 Sep 2005 08:25:00 -0000 To: amodra@bigpond.net.au Cc: binutils@sources.redhat.com Subject: Re: Change in .ld syntax or a bug? Message-ID: <20050916073239.GS11369@donkey.ma.tech.ascom.ch> References: <20050915121708.GO11369@donkey.ma.tech.ascom.ch> <20050915132026.GR18783@bubble.grove.modra.org> <20050915133322.GQ11369@donkey.ma.tech.ascom.ch> <20050916022647.GT18783@bubble.grove.modra.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050916022647.GT18783@bubble.grove.modra.org> User-Agent: Mutt/1.5.10i From: Andrew Lunn X-SW-Source: 2005-09/txt/msg00190.txt.bz2 On Fri, Sep 16, 2005 at 11:56:47AM +0930, Alan Modra wrote: > On Thu, Sep 15, 2005 at 03:33:22PM +0200, Andrew Lunn wrote: > > 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. > > Would you mind checking whether mainline CVS has this bug? If you find > it does, I'll see about fixing the problem. I just tried anoncvs trunk and it has the same problem. Thanks Andrew