From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23067 invoked by alias); 26 Sep 2006 15:54:11 -0000 Received: (qmail 23058 invoked by uid 22791); 26 Sep 2006 15:54:10 -0000 X-Spam-Check-By: sourceware.org Received: from smtp108.sbc.mail.mud.yahoo.com (HELO smtp108.sbc.mail.mud.yahoo.com) (68.142.198.207) by sourceware.org (qpsmtpd/0.31) with SMTP; Tue, 26 Sep 2006 15:54:05 +0000 Received: (qmail 74273 invoked from network); 26 Sep 2006 15:54:03 -0000 Received: from unknown (HELO lucon.org) (hjjean@sbcglobal.net@71.146.100.252 with login) by smtp108.sbc.mail.mud.yahoo.com with SMTP; 26 Sep 2006 15:54:03 -0000 Received: by lucon.org (Postfix, from userid 500) id 74668105CC; Tue, 26 Sep 2006 08:54:02 -0700 (PDT) Date: Tue, 26 Sep 2006 16:14:00 -0000 From: "H. J. Lu" To: Vivek Goyal , binutils@sources.redhat.com Subject: Re: Linker Bug or Design Intent (Absolute symbols in zero sized sections) Message-ID: <20060926155402.GA9105@lucon.org> References: <4519350D.2090208@redhat.com> <20060926142709.GA8543@lucon.org> <4519387D.3080305@redhat.com> <20060926145159.GA8668@lucon.org> <20060926145810.GA14821@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060926145810.GA14821@nevyn.them.org> User-Agent: Mutt/1.4.2.1i Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2006-09/txt/msg00315.txt.bz2 On Tue, Sep 26, 2006 at 10:58:10AM -0400, Daniel Jacobowitz wrote: > On Tue, Sep 26, 2006 at 07:51:59AM -0700, H. J. Lu wrote: > > I think for --emit-relocs, we can keep an empty output section if its > > address is taken. > > > > Of course, we need to update linker doc. > > I think we're being too specific to this case. > > Why are we changing what the linker script clearly defines as section > relative symbols to absolute symbols? This isn't the only use case > I've encountered where that will break. We should either discard the Please open a bug report with a testcase for each different issue. Thanks. H.J.