summaryrefslogtreecommitdiff
blob: cdc9b520a0988486f95879efc25c5e2ff208073a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- source-orig/bfd/elfxx-mips.c	Sun May 25 09:20:23 2003
+++ source/bfd/elfxx-mips.c	Sun May 25 09:55:20 2003
@@ -7798,10 +7798,10 @@ _bfd_mips_elf_hide_symbol (info, entry, 
   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;