* elfxx-mips.c (mips_elf_sort_hash_table_f): Remove asserts.
This commit is contained in:
Richard Sandiford 2013-02-11 17:27:57 +00:00
parent 172149374e
commit 7d94b3191a
2 changed files with 4 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2013-02-11 Richard Sandiford <rdsandiford@googlemail.com>
* elfxx-mips.c (mips_elf_sort_hash_table_f): Remove asserts.
2013-02-11 Richard Sandiford <rdsandiford@googlemail.com>
* elfxx-mips.c (mips_elf_merge_got_with): Only use arg->global_count

View File

@ -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++;