aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-03-05 05:25:13 +0000
committerAlan Modra <amodra@gmail.com>2002-03-05 05:25:13 +0000
commit039cc25f065d0b9b838232dd03b68f52472970c4 (patch)
tree21ede625215bad8ea4d8bccb082e4a4c1262514a /bfd
parentc44233aab36ddee62e140a0ade0c2440247ad5d1 (diff)
downloadgdb-039cc25f065d0b9b838232dd03b68f52472970c4.zip
gdb-039cc25f065d0b9b838232dd03b68f52472970c4.tar.gz
gdb-039cc25f065d0b9b838232dd03b68f52472970c4.tar.bz2
* elf32-hppa.c (clobber_millicode_symbols): Remove hack to keep
symbols that have been forced local.
Diffstat (limited to 'bfd')
-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 8297129..bcc16f3 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 5a65dcb..1c0355e 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;
}