From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8443 invoked by alias); 16 Sep 2005 02:26:55 -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 8113 invoked by uid 22791); 16 Sep 2005 02:26:51 -0000 Received: from omta02ps.mx.bigpond.com (HELO omta02ps.mx.bigpond.com) (144.140.83.154) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Fri, 16 Sep 2005 02:26:51 +0000 Received: from grove.modra.org ([144.136.167.90]) by omta02ps.mx.bigpond.com with ESMTP id <20050916022647.HJKP19806.omta02ps.mx.bigpond.com@grove.modra.org> for ; Fri, 16 Sep 2005 02:26:47 +0000 Received: by bubble.grove.modra.org (Postfix, from userid 500) id 49642118DEE; Fri, 16 Sep 2005 11:56:47 +0930 (CST) Date: Fri, 16 Sep 2005 05:36:00 -0000 From: Alan Modra To: Andrew Lunn Cc: binutils@sources.redhat.com Subject: Re: Change in .ld syntax or a bug? Message-ID: <20050916022647.GT18783@bubble.grove.modra.org> Mail-Followup-To: Andrew Lunn , binutils@sources.redhat.com References: <20050915121708.GO11369@donkey.ma.tech.ascom.ch> <20050915132026.GR18783@bubble.grove.modra.org> <20050915133322.GQ11369@donkey.ma.tech.ascom.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050915133322.GQ11369@donkey.ma.tech.ascom.ch> User-Agent: Mutt/1.4i X-SW-Source: 2005-09/txt/msg00185.txt.bz2 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. -- Alan Modra IBM OzLabs - Linux Technology Centre