* elf32-hppa.c (clobber_millicode_symbols): Remove hack to keep
authorAlan Modra <amodra@gmail.com>
Tue, 5 Mar 2002 05:25:13 +0000 (05:25 +0000)
committerAlan Modra <amodra@gmail.com>
Tue, 5 Mar 2002 05:25:13 +0000 (05:25 +0000)
symbols that have been forced local.

bfd/ChangeLog
bfd/elf32-hppa.c

index 8297129fa64588e7892cfbaf7e52ca06c44366a4..bcc16f3be0d6923945fbb4441d1d698f00f22c2d 100644 (file)
@@ -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
index 5a65dcb1d61ad5a521e4ae48ac91baf2c4bff85e..1c0355edc381ced3e84006b18904e160010e2a4e 100644 (file)
@@ -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;
 }