summaryrefslogtreecommitdiff
path: root/bfd/elfxx-mips.c
diff options
context:
space:
mode:
authorThiemo Seufer <ths@networkno.de>2003-05-29 02:28:32 +0000
committerThiemo Seufer <ths@networkno.de>2003-05-29 02:28:32 +0000
commit4f10b00ffeef1f64def8e4bcc68e030e843dbb56 (patch)
treed53abba4cfffb9a7b140e97594bd145975823b09 /bfd/elfxx-mips.c
parent2f119093535b1e6b773301add211ce7ef6f54b49 (diff)
downloadgdb-4f10b00ffeef1f64def8e4bcc68e030e843dbb56.tar.gz
* elfxx-mips.c: Don't force symbols local unconditionally.
Diffstat (limited to 'bfd/elfxx-mips.c')
-rw-r--r--bfd/elfxx-mips.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c
index bede3e61293..8f7e7c69c92 100644
--- a/bfd/elfxx-mips.c
+++ b/bfd/elfxx-mips.c
@@ -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;