elf_backend_hide_symbol
Alan Modra
amodra@bigpond.net.au
Mon Mar 4 21:24:00 GMT 2002
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
More information about the Binutils
mailing list