]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Don't fail in elf32_hppa_set_gp
authorAlan Modra <amodra@gmail.com>
Sat, 5 Aug 2017 13:58:21 +0000 (23:28 +0930)
committerAlan Modra <amodra@gmail.com>
Wed, 23 Aug 2017 03:18:16 +0000 (12:48 +0930)
commitbf234c7b396b80c3da512554502f4cb15eec3fff
treeda38f46f8bca1e52e39df7b4e20d0d59e0d319ab
parent7476906bc53665adfef4c4598774584eb34cc5af
Don't fail in elf32_hppa_set_gp

The base bfd_link_hash_table works fine here, the only thing to watch
out for is to only set elf_gp if the output is ELF.

bfd/
* elf32-hppa.c (elf32_hppa_set_gp): Don't require an
hppa_link_hash_table.
ld/
* testsuite/ld-unique/pr21529.d: Don't xfail hppa.
bfd/ChangeLog
bfd/elf32-hppa.c
ld/ChangeLog
ld/testsuite/ld-unique/pr21529.d