]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
hppa64: Fix addition of symbols to local dynamic table
authorJohn David Anglin <danglin@gcc.gnu.org>
Wed, 15 Oct 2025 18:29:51 +0000 (14:29 -0400)
committerJohn David Anglin <danglin@gcc.gnu.org>
Wed, 15 Oct 2025 18:29:51 +0000 (14:29 -0400)
commitc1288ad0f77bf2211dc33de30fe86dd084670a15
tree911b28817e7b3087ba7fa003ae24b4f53a92dbe7
parent23068df752dcfb800fe0e5d80c6248bbcac282aa
hppa64: Fix addition of symbols to local dynamic table

This fixes lookup failure in elf64_hppa_finalize_dynreloc.

2025-10-15  John David Anglin  <danglin@gcc.gnu.org>

bfd/ChangeLog:

* elf64-hppa.c (elf64_hppa_check_relocs): Record local
dynamic symbol if a dynamic relocation is needed.
(allocate_global_data_dlt) Fix typo.
(allocate_dynrel_entries): Don't record symbol.
(elf64_hppa_finalize_dynreloc): Assert dynindx is not -1.
bfd/elf64-hppa.c