diff options
author | Thiemo Seufer <ths@networkno.de> | 2003-05-29 02:28:32 +0000 |
---|---|---|
committer | Thiemo Seufer <ths@networkno.de> | 2003-05-29 02:28:32 +0000 |
commit | 4b555070882311fb812b50367c01de00f22e1ea6 (patch) | |
tree | 42f46d124ade8fa5c2ed8e5c85bcd095cd388cd7 /bfd/elfxx-mips.c | |
parent | 43f9d75bc1bbff5dec60756e9f12de5ae4a3d7dc (diff) | |
download | gdb-4b555070882311fb812b50367c01de00f22e1ea6.zip gdb-4b555070882311fb812b50367c01de00f22e1ea6.tar.gz gdb-4b555070882311fb812b50367c01de00f22e1ea6.tar.bz2 |
* elfxx-mips.c: Don't force symbols local unconditionally.
Diffstat (limited to 'bfd/elfxx-mips.c')
-rw-r--r-- | bfd/elfxx-mips.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c index bede3e6..8f7e7c6 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; |