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>
Sat, 5 Aug 2017 13:58:21 +0000 (23:28 +0930)
commit55ef6584ca8466e293e9f1b310c0bf44500c11b6
tree37d7eb5cfee1e66726d710f9f10130b9b8ada260
parenta66930b357fee4ae716bfc8816e78c0f9c024005
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