From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5998 invoked by alias); 18 Mar 2005 07:07:38 -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 5442 invoked from network); 18 Mar 2005 07:07:33 -0000 Received: from unknown (HELO gizmo01bw.bigpond.com) (144.140.70.11) by sourceware.org with SMTP; 18 Mar 2005 07:07:33 -0000 Received: (qmail 1810 invoked from network); 18 Mar 2005 07:07:31 -0000 Received: from unknown (HELO bwmam12.bigpond.com) (144.135.24.103) by gizmo01bw.bigpond.com with SMTP; 18 Mar 2005 07:07:31 -0000 Received: from cpe-144-136-221-26.sa.bigpond.net.au ([144.136.221.26]) by bwmam12.bigpond.com(MAM REL_3_4_2a 189/35867794) with SMTP id 35867794; Fri, 18 Mar 2005 17:07:31 +1000 Received: by bubble.modra.org (Postfix, from userid 500) id 6602119FF5A; Fri, 18 Mar 2005 17:37:31 +1030 Date: Fri, 18 Mar 2005 10:14:00 -0000 From: Alan Modra To: "H. J. Lu" Cc: binutils@sources.redhat.com Subject: Re: RFC: Remove empty output sections Message-ID: <20050318070731.GW21148@bubble.modra.org> Mail-Followup-To: "H. J. Lu" , binutils@sources.redhat.com References: <20050315195824.GA25667@lucon.org> <20050315203845.GA26237@lucon.org> <20050316023246.GA3794@lucon.org> <20050316025012.GG21148@bubble.modra.org> <20050318013651.GR21148@bubble.modra.org> <20050318014929.GA14885@lucon.org> <20050318020310.GS21148@bubble.modra.org> <20050318025925.GA15960@lucon.org> <20050318031547.GV21148@bubble.modra.org> <20050318035127.GA16682@lucon.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050318035127.GA16682@lucon.org> User-Agent: Mutt/1.4i X-SW-Source: 2005-03/txt/msg00508.txt.bz2 On Thu, Mar 17, 2005 at 07:51:27PM -0800, H. J. Lu wrote: > On Fri, Mar 18, 2005 at 01:45:47PM +1030, Alan Modra wrote: > > On Thu, Mar 17, 2005 at 06:59:25PM -0800, H. J. Lu wrote: > > > * emultempl/elf32.em (gld${EMULATION_NAME}_finish): Set > > > bfd_section to bfd_abs_section_ptr when removing unused empty > > > output sections for non-relocatable link. > > > > No. The map file output needs to use the sections actually linked, > > otherwise wrong values will be reported. > > Here it is. How have you tested this? -- Alan Modra IBM OzLabs - Linux Technology Centre