From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11646 invoked by alias); 5 Mar 2002 05:24:56 -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 11547 invoked from network); 5 Mar 2002 05:24:40 -0000 Received: from unknown (HELO mta03ps.bigpond.com) (144.135.25.135) by sources.redhat.com with SMTP; 5 Mar 2002 05:24:40 -0000 Received: from bubble.local ([144.135.25.84]) by mta03ps.bigpond.com (Netscape Messaging Server 4.15) with SMTP id GSHJ1200.EGE for ; Tue, 5 Mar 2002 15:24:38 +1000 Received: from CPE-144-136-176-14.sa.bigpond.net.au ([144.136.176.14]) by psmam06.mailsvc.email.bigpond.com(MailRouter V3.0i 116/4413114); 05 Mar 2002 15:24:38 Received: (qmail 2359 invoked by uid 179); 5 Mar 2002 05:24:38 -0000 Date: Mon, 04 Mar 2002 21:24:00 -0000 From: Alan Modra To: binutils@sources.redhat.com Subject: Re: elf_backend_hide_symbol Message-ID: <20020305052438.GT1090@bubble.sa.bigpond.net.au> Mail-Followup-To: binutils@sources.redhat.com References: <20020219002339.GR1054@bubble.sa.bigpond.net.au> <20020305051742.GS1090@bubble.sa.bigpond.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020305051742.GS1090@bubble.sa.bigpond.net.au> User-Agent: Mutt/1.3.25i X-SW-Source: 2002-03/txt/msg00116.txt.bz2 On Tue, Mar 05, 2002 at 03:47:42PM +1030, Alan Modra wrote: > > * elflink.h (elf_bfd_final_link): Call elf_link_output_extsym > > to output forced local syms for non-shared link. > > (elf_link_output_extsym): Tweak condition for calling backend > > adjust_dynamic_symbol so that previous behaviour is kept. This hack can go now too. bfd/ChangeLog * elf32-hppa.c (clobber_millicode_symbols): Remove hack to keep symbols that have been forced local. Index: bfd/elf32-hppa.c =================================================================== RCS file: /cvs/src/src/bfd/elf32-hppa.c,v retrieving revision 1.72 diff -u -p -r1.72 elf32-hppa.c --- elf32-hppa.c 2002/02/19 12:40:24 1.72 +++ elf32-hppa.c 2002/03/05 05:22:52 @@ -2217,10 +2217,6 @@ clobber_millicode_symbols (h, info) && (h->elf_link_hash_flags & ELF_LINK_FORCED_LOCAL) == 0) { elf32_hppa_hide_symbol (info, h, true); - - /* ?!? We only want to remove these from the dynamic symbol table. - Therefore we do not leave ELF_LINK_FORCED_LOCAL set. */ - h->elf_link_hash_flags &= ~ELF_LINK_FORCED_LOCAL; } return true; } -- Alan Modra IBM OzLabs - Linux Technology Centre