bfd/
authorRichard Sandiford <rdsandiford@googlemail.com>
Mon, 11 Feb 2013 17:27:57 +0000 (17:27 +0000)
committerRichard Sandiford <rdsandiford@googlemail.com>
Mon, 11 Feb 2013 17:27:57 +0000 (17:27 +0000)
* elfxx-mips.c (mips_elf_sort_hash_table_f): Remove asserts.

bfd/ChangeLog
bfd/elfxx-mips.c

index be33a47542504db5f582e7231a5a0c57bb2c3b06..6347d83fbe89cb7375f167867db93931a2b2f2be 100644 (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
index abf2156dc52bf64d07c6c7bfa8af27b42b0e6f78..f3259f4205606358b5a87f2e5c1ee3d7c3ad33c0 100644 (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++;