Fix seg-fault when running the ld testsuite for the hppa64-linux target.
authorNick Clifton <nickc@redhat.com>
Tue, 27 Oct 2020 16:23:09 +0000 (16:23 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 27 Oct 2020 16:23:09 +0000 (16:23 +0000)
commit27e5e547c7e30e9d78dd27662d7a8dc1373833cf
tree0501cfb846003ac97771205f5eae9478b90f8191
parentbcd213b2cfbca2df53fb7e5d187fd67ea8eb7185
Fix seg-fault when running the ld testsuite for the hppa64-linux target.

* elf64-hppa.c (elf_hppa_final_link_relocate): Check that the
symbol's section is being output before adding its offset to the
addend when processing R_PARISC_SECREL32.
bfd/ChangeLog
bfd/elf64-hppa.c