From: Daniel Jacobowitz Date: Thu, 4 May 2006 19:03:24 +0000 (+0000) Subject: * elfxx-mips.c (_bfd_mips_elf_hide_symbol): Adjust handling X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=003b8e1dad4f58f1f6d17d0901d3097f20a9a6c6;p=binutils-gdb.git * elfxx-mips.c (_bfd_mips_elf_hide_symbol): Adjust handling for missing GOTs. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 70a6227817e..36f62dda861 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2006-05-04 Daniel Jacobowitz + + * elfxx-mips.c (_bfd_mips_elf_hide_symbol): Adjust handling + for missing GOTs. + 2006-05-04 Daniel Jacobowitz * bfd/cpu-arm.c (bfd_is_arm_mapping_symbol_name): Accept more diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c index c585ae48d19..e86f7127149 100644 --- a/bfd/elfxx-mips.c +++ b/bfd/elfxx-mips.c @@ -9380,7 +9380,7 @@ _bfd_mips_elf_hide_symbol (struct bfd_link_info *info, dynobj = elf_hash_table (info)->dynobj; if (dynobj != NULL && force_local && h->root.type != STT_TLS - && (got = mips_elf_got_section (dynobj, FALSE)) != NULL + && (got = mips_elf_got_section (dynobj, TRUE)) != NULL && (g = mips_elf_section_data (got)->u.got_info) != NULL) { if (g->next)