This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: elf_backend_hide_symbol
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: binutils at sources dot redhat dot com
- Date: Tue, 5 Mar 2002 15:54:38 +1030
- Subject: Re: elf_backend_hide_symbol
- References: <20020219002339.GR1054@bubble.sa.bigpond.net.au> <20020305051742.GS1090@bubble.sa.bigpond.net.au>
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