From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8974 invoked by alias); 4 Jul 2003 07:42: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 8960 invoked from network); 4 Jul 2003 07:42:54 -0000 Received: from unknown (HELO mta04ps.bigpond.com) (144.135.25.158) by sources.redhat.com with SMTP; 4 Jul 2003 07:42:54 -0000 Received: from bubble.local ([144.135.25.72]) by mta04ps.email.bigpond.com (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with SMTP id <0HHH0008MPAXNJ@mta04ps.email.bigpond.com> for binutils@sources.redhat.com; Fri, 04 Jul 2003 17:40:10 +1000 (EST) Received: from cpe-144-136-188-60.sa.bigpond.net.au ([144.136.188.60]) by psmam02bpa.bigpond.com(MAM REL_3_3_2c 80/4288273); Fri, 04 Jul 2003 17:40:12 +0000 Received: (qmail 20061 invoked by uid 179); Fri, 04 Jul 2003 07:40:22 +0000 Date: Fri, 04 Jul 2003 07:42:00 -0000 From: Alan Modra Subject: Re: bfd_make_section In-reply-to: <200307040615.h646FwJ11527@r-rr.iij4u.or.jp> To: kaz Kojima Cc: binutils@sources.redhat.com Mail-followup-to: kaz Kojima , binutils@sources.redhat.com Message-id: <20030704074022.GN957@bubble.sa.bigpond.net.au> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: Mutt/1.4i References: <20030704045714.GM957@bubble.sa.bigpond.net.au> <200307040615.h646FwJ11527@r-rr.iij4u.or.jp> X-SW-Source: 2003-07/txt/msg00082.txt.bz2 Hi, On Fri, Jul 04, 2003 at 03:26:34PM +0900, kaz Kojima wrote: > * elf32-sh.c (sh_elf_create_dynamic_sections): Don't call > bfd_make_section for existing sections. Wouldn't a test of htab->root.dynamic_sections_created near the start of sh_elf_create_dynamic_sections avoid all these extra tests? -- Alan Modra IBM OzLabs - Linux Technology Centre