* elfxx-mips.c: Don't force symbols local unconditionally.
authorThiemo Seufer <ths@networkno.de>
Thu, 29 May 2003 02:28:32 +0000 (02:28 +0000)
committerThiemo Seufer <ths@networkno.de>
Thu, 29 May 2003 02:28:32 +0000 (02:28 +0000)
bfd/ChangeLog
bfd/elfxx-mips.c

index a3e408ace4d6642ebb1b12cb66b1dfd6db4ef0aa..40f3c15c451e21b0fb68742da2e259e1f40942b1 100644 (file)
@@ -1,3 +1,7 @@
+2003-05-29  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * elfxx-mips.c: Don't force symbols local unconditionally.
+
 2003-05-28  Alan Modra  <amodra@bigpond.net.au>
 
        * elf32-hppa.c (elf32_hppa_relocate_section): Delete bogus
index bede3e61293a05110410d9d1d4b51e3ded510dd7..8f7e7c69c923e73760466d76a541d4fa661f6e4d 100644 (file)
@@ -7799,10 +7799,10 @@ _bfd_mips_elf_hide_symbol (info, entry, force_local)
   h = (struct mips_elf_link_hash_entry *) entry;
   if (h->forced_local)
     return;
-  h->forced_local = TRUE;
+  h->forced_local = force_local;
 
   dynobj = elf_hash_table (info)->dynobj;
-  if (dynobj != NULL)
+  if (dynobj != NULL && force_local)
     {
       got = mips_elf_got_section (dynobj, FALSE);
       g = mips_elf_section_data (got)->u.got_info;