aboutsummaryrefslogtreecommitdiff
path: root/gas/asintl.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2024-08-07 07:56:33 +0930
committerAlan Modra <amodra@gmail.com>2024-08-07 09:37:12 +0930
commitb93dcd1cdd193f119d86d9a9ee84b8dabdef28c5 (patch)
treea257db3e29d44436e34af7be08a21a86d946671a /gas/asintl.h
parentc42ee4a1ca8596fee9b1a1381256994e828799a6 (diff)
downloadgdb-b93dcd1cdd193f119d86d9a9ee84b8dabdef28c5.zip
gdb-b93dcd1cdd193f119d86d9a9ee84b8dabdef28c5.tar.gz
gdb-b93dcd1cdd193f119d86d9a9ee84b8dabdef28c5.tar.bz2
loongarch ld testsuite xpasses
Some tests started passing with commit 3a83f0342e54. 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.
Diffstat (limited to 'gas/asintl.h')
0 files changed, 0 insertions, 0 deletions