diff options
author | Daniel Jacobowitz <drow@false.org> | 2006-05-04 19:03:24 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2006-05-04 19:03:24 +0000 |
commit | 003b8e1dad4f58f1f6d17d0901d3097f20a9a6c6 (patch) | |
tree | b5ddeab21b3e2ec82bd3f89261ad5e153cb1e2c1 /bfd | |
parent | efacb0fb7363ed9c22730e8726f3ccec162624e5 (diff) | |
download | gdb-003b8e1dad4f58f1f6d17d0901d3097f20a9a6c6.zip gdb-003b8e1dad4f58f1f6d17d0901d3097f20a9a6c6.tar.gz gdb-003b8e1dad4f58f1f6d17d0901d3097f20a9a6c6.tar.bz2 |
* elfxx-mips.c (_bfd_mips_elf_hide_symbol): Adjust handling
for missing GOTs.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elfxx-mips.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 70a6227..36f62dd 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,10 @@ 2006-05-04 Daniel Jacobowitz <dan@codesourcery.com> + * elfxx-mips.c (_bfd_mips_elf_hide_symbol): Adjust handling + for missing GOTs. + +2006-05-04 Daniel Jacobowitz <dan@codesourcery.com> + * bfd/cpu-arm.c (bfd_is_arm_mapping_symbol_name): Accept more mapping symbols. diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c index c585ae4..e86f712 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) |