summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bfd/ChangeLog3
-rw-r--r--bfd/elf32-hppa.c4
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 <amodra@bigpond.net.au>
+ * 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;
}