From 039cc25f065d0b9b838232dd03b68f52472970c4 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 5 Mar 2002 05:25:13 +0000 Subject: [PATCH] * elf32-hppa.c (clobber_millicode_symbols): Remove hack to keep symbols that have been forced local. --- bfd/ChangeLog | 3 +++ bfd/elf32-hppa.c | 4 ---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 8297129fa64..bcc16f3be0d 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,8 @@ 2002-03-05 Alan Modra + * elf32-hppa.c (clobber_millicode_symbols): Remove hack to keep + symbols that have been forced local. + * 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 diff --git a/bfd/elf32-hppa.c b/bfd/elf32-hppa.c index 5a65dcb1d61..1c0355edc38 100644 --- a/bfd/elf32-hppa.c +++ b/bfd/elf32-hppa.c @@ -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; } -- 2.30.2