mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 20:28:28 +08:00
bfd/
* elfxx-mips.c (mips_elf_sort_hash_table_f): Remove asserts.
This commit is contained in:
@ -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>
|
2013-02-11 Richard Sandiford <rdsandiford@googlemail.com>
|
||||||
|
|
||||||
* elfxx-mips.c (mips_elf_merge_got_with): Only use arg->global_count
|
* elfxx-mips.c (mips_elf_merge_got_with): Only use arg->global_count
|
||||||
|
@ -3640,15 +3640,11 @@ mips_elf_sort_hash_table_f (struct mips_elf_link_hash_entry *h, void *data)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case GGA_NORMAL:
|
case GGA_NORMAL:
|
||||||
BFD_ASSERT (h->tls_type == GOT_NORMAL);
|
|
||||||
|
|
||||||
h->root.dynindx = --hsd->min_got_dynindx;
|
h->root.dynindx = --hsd->min_got_dynindx;
|
||||||
hsd->low = (struct elf_link_hash_entry *) h;
|
hsd->low = (struct elf_link_hash_entry *) h;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case GGA_RELOC_ONLY:
|
case GGA_RELOC_ONLY:
|
||||||
BFD_ASSERT (h->tls_type == GOT_NORMAL);
|
|
||||||
|
|
||||||
if (hsd->max_unref_got_dynindx == hsd->min_got_dynindx)
|
if (hsd->max_unref_got_dynindx == hsd->min_got_dynindx)
|
||||||
hsd->low = (struct elf_link_hash_entry *) h;
|
hsd->low = (struct elf_link_hash_entry *) h;
|
||||||
h->root.dynindx = hsd->max_unref_got_dynindx++;
|
h->root.dynindx = hsd->max_unref_got_dynindx++;
|
||||||
|
Reference in New Issue
Block a user