]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
mips regression fixes
authorAlan Modra <amodra@gmail.com>
Mon, 1 Dec 2025 23:58:04 +0000 (10:28 +1030)
committerAlan Modra <amodra@gmail.com>
Tue, 2 Dec 2025 00:31:30 +0000 (11:01 +1030)
commit894024c708c3bdbd75855c4eecc12db583762e83
treeacd581d04db892d4722e0175677672cd9b725400
parent3897a4f9c6c5de7166a560300bb92914f0c08982
mips regression fixes

Commit 54fbc12d64 introduced mips-linux testsuite regressions.
+FAIL: MIPS magic __ehdr_start symbol test 1 (o32)
+FAIL: PR ld/21334 MIPS GOT16 relocation in static binary
+FAIL: PR ld/21375 in SVR4 executable (hidden)
These are all assertion failures in mips_elf_sort_hash_table
  BFD_ASSERT (hsd.max_local_dynindx <= htab->root.local_dynsymcount + 1);

This was a pre-existing problem exposed by commit 54fbc12d64.

* elfxx-mips.c (mips_elf_sort_hash_table): Properly test for
no dynsyms.
bfd/elfxx-mips.c