From: Thiemo Seufer Date: Thu, 29 May 2003 02:28:32 +0000 (+0000) Subject: * elfxx-mips.c: Don't force symbols local unconditionally. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4b555070882311fb812b50367c01de00f22e1ea6;p=binutils-gdb.git * elfxx-mips.c: Don't force symbols local unconditionally. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index a3e408ace4d..40f3c15c451 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2003-05-29 Thiemo Seufer + + * elfxx-mips.c: Don't force symbols local unconditionally. + 2003-05-28 Alan Modra * elf32-hppa.c (elf32_hppa_relocate_section): Delete bogus 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;