From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16633 invoked by alias); 11 Oct 2006 03:52:27 -0000 Received: (qmail 16624 invoked by uid 22791); 11 Oct 2006 03:52:26 -0000 X-Spam-Check-By: sourceware.org Received: from omta03sl.mx.bigpond.com (HELO omta03sl.mx.bigpond.com) (144.140.92.155) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 11 Oct 2006 03:52:23 +0000 Received: from bubble.grove.modra.org ([60.226.236.165]) by omta03sl.mx.bigpond.com with ESMTP id <20061011035219.BBGZ8785.omta03sl.mx.bigpond.com@bubble.grove.modra.org>; Wed, 11 Oct 2006 03:52:19 +0000 Received: by bubble.grove.modra.org (Postfix, from userid 500) id 733532B5F6D; Wed, 11 Oct 2006 13:23:05 +0930 (CST) Date: Wed, 11 Oct 2006 08:04:00 -0000 From: Alan Modra To: Jakub Jelinek Cc: "H. J. Lu" , Paul Brook , binutils@sourceware.org, Paul Koning , vgoyal@redhat.com, drow@false.org, binutils@sources.redhat.com Subject: Re: Linker Bug or Design Intent (Absolute symbols in zero sized sections) Message-ID: <20061011035305.GA19554@bubble.grove.modra.org> Mail-Followup-To: Jakub Jelinek , "H. J. Lu" , Paul Brook , binutils@sourceware.org, Paul Koning , vgoyal@redhat.com, drow@false.org, binutils@sources.redhat.com References: <4519350D.2090208@redhat.com> <17689.23227.571136.559871@gargle.gargle.HOWL> <20060926232851.GB1534@bubble.grove.modra.org> <200609281742.31472.paul@codesourcery.com> <20060928165251.GA20383@lucon.org> <20061010163423.GJ4556@sunsite.mff.cuni.cz> <20061010231922.GK4556@sunsite.mff.cuni.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061010231922.GK4556@sunsite.mff.cuni.cz> User-Agent: Mutt/1.5.9i X-IsSubscribed: yes 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-10/txt/msg00072.txt.bz2 On Wed, Oct 11, 2006 at 01:19:22AM +0200, Jakub Jelinek wrote: > Either we could add here REMOVE_EMPTY flag, or, perhaps better, not consider > at least symbol = absolute value assignments as section relative, Sections containing symbols really do need to stay, for --emit-relocs and dynamic relocs. Or at least, we need to do something to make them work properly. -- Alan Modra IBM OzLabs - Linux Technology Centre From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17113 invoked by alias); 11 Oct 2006 03:52:30 -0000 Received: (qmail 17060 invoked by uid 22791); 11 Oct 2006 03:52:29 -0000 X-Spam-Check-By: sourceware.org Received: from omta03sl.mx.bigpond.com (HELO omta03sl.mx.bigpond.com) (144.140.92.155) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 11 Oct 2006 03:52:23 +0000 Received: from bubble.grove.modra.org ([60.226.236.165]) by omta03sl.mx.bigpond.com with ESMTP id <20061011035219.BBGZ8785.omta03sl.mx.bigpond.com@bubble.grove.modra.org>; Wed, 11 Oct 2006 03:52:19 +0000 Received: by bubble.grove.modra.org (Postfix, from userid 500) id 733532B5F6D; Wed, 11 Oct 2006 13:23:05 +0930 (CST) Date: Wed, 11 Oct 2006 14:08:00 -0000 From: Alan Modra To: Jakub Jelinek Cc: "H. J. Lu" , Paul Brook , binutils@sourceware.org, Paul Koning , vgoyal@redhat.com, drow@false.org, binutils@sources.redhat.com Subject: Re: Linker Bug or Design Intent (Absolute symbols in zero sized sections) Message-ID: <20061011035305.GA19554@bubble.grove.modra.org> Mail-Followup-To: Jakub Jelinek , "H. J. Lu" , Paul Brook , binutils@sourceware.org, Paul Koning , vgoyal@redhat.com, drow@false.org, binutils@sources.redhat.com References: <4519350D.2090208@redhat.com> <17689.23227.571136.559871@gargle.gargle.HOWL> <20060926232851.GB1534@bubble.grove.modra.org> <200609281742.31472.paul@codesourcery.com> <20060928165251.GA20383@lucon.org> <20061010163423.GJ4556@sunsite.mff.cuni.cz> <20061010231922.GK4556@sunsite.mff.cuni.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061010231922.GK4556@sunsite.mff.cuni.cz> User-Agent: Mutt/1.5.9i X-IsSubscribed: yes 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-10/txt/msg00073.txt.bz2 Message-ID: <20061011140800.J7_CA-nx2vsuD0yy_uRGEx9ikd3Wa1RULL847omd3_U@z> On Wed, Oct 11, 2006 at 01:19:22AM +0200, Jakub Jelinek wrote: > Either we could add here REMOVE_EMPTY flag, or, perhaps better, not consider > at least symbol = absolute value assignments as section relative, Sections containing symbols really do need to stay, for --emit-relocs and dynamic relocs. Or at least, we need to do something to make them work properly. -- Alan Modra IBM OzLabs - Linux Technology Centre