binutils-gdb/ld/testsuite/ld-unique
Alan Modra b93dcd1cdd loongarch ld testsuite xpasses
Some tests started passing with commit 3a83f0342e.  However,
supporting a changed ld output format is not so simple, and the change
to the loongarch_elf_hash_table macro needs further changes to the
rest of the code.  It is true that some uses of
loongarch_elf_hash_table do not need to check the type of the hash
table, but others like loongarch_elf_relax_section do need to check.
bfd_relax_section is called in lang_size_sections using the input bfd,
not the output bfd.  If the input bfd may be of different type to the
output, then the hash table type must be checked before accessing
elements of the hash table.  This patch corrects
loongarch_elf_relax_section.  I haven't checked all the uses of the
hash table throughout the loongarch backend.

bfd/
	* elfnn-loongarch.c (loongarch_elf_relax_section): Don't relax
	unless the hash table is loongarch_elf_link_hash_table.
	Move variable declarations.  Formatting.
ld/
	* testsuite/ld-elf/pr21884.d: Don't xfail loongarach.
	* testsuite/ld-unique/pr21529.d: Likewise.
2024-08-07 09:37:12 +09:30
..
pr21529.d loongarch ld testsuite xpasses 2024-08-07 09:37:12 +09:30
pr21529.ld PR ld/21529: Use a linker script to limit output with the test case 2017-07-14 11:53:08 +01:00
pr21529.s Add support for the GBZ80 and Z80N variants of the Z80 architecture, and add DWARF debug info support to the Z80 assembler. 2020-02-07 14:53:46 +00:00
unique_empty.s Add linker warning for when it creates an executable stack. 2022-04-20 13:39:05 +01:00
unique_shared.s Add linker warning for when it creates an executable stack. 2022-04-20 13:39:05 +01:00
unique.d Add support for the GBZ80 and Z80N variants of the Z80 architecture, and add DWARF debug info support to the Z80 assembler. 2020-02-07 14:53:46 +00:00
unique.exp Update year range in copyright notice of binutils files 2024-01-04 22:58:12 +10:30
unique.s Add linker warning for when it creates an executable stack. 2022-04-20 13:39:05 +01:00