aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfxx-mips.c
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2013-02-11 17:27:57 +0000
committerRichard Sandiford <rdsandiford@googlemail.com>2013-02-11 17:27:57 +0000
commit7d94b3191af0c590142ee723b5822f7ceb1ebf2d (patch)
tree5fadf99a84675601610b38b95f81381ee9004425 /bfd/elfxx-mips.c
parent172149374ec64b82f39a3d572211bfe92e62b182 (diff)
downloadgdb-7d94b3191af0c590142ee723b5822f7ceb1ebf2d.zip
gdb-7d94b3191af0c590142ee723b5822f7ceb1ebf2d.tar.gz
gdb-7d94b3191af0c590142ee723b5822f7ceb1ebf2d.tar.bz2
bfd/
* elfxx-mips.c (mips_elf_sort_hash_table_f): Remove asserts.
Diffstat (limited to 'bfd/elfxx-mips.c')
-rw-r--r--bfd/elfxx-mips.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c
index abf2156..f3259f4 100644
--- a/bfd/elfxx-mips.c
+++ b/bfd/elfxx-mips.c
@@ -3640,15 +3640,11 @@ mips_elf_sort_hash_table_f (struct mips_elf_link_hash_entry *h, void *data)
break;
case GGA_NORMAL:
- BFD_ASSERT (h->tls_type == GOT_NORMAL);
-
h->root.dynindx = --hsd->min_got_dynindx;
hsd->low = (struct elf_link_hash_entry *) h;
break;
case GGA_RELOC_ONLY:
- BFD_ASSERT (h->tls_type == GOT_NORMAL);
-
if (hsd->max_unref_got_dynindx == hsd->min_got_dynindx)
hsd->low = (struct elf_link_hash_entry *) h;
h->root.dynindx = hsd->max_unref_got_dynindx++;