Fix segmentation fault in bfd/elf32-hppa.c

2023-12-15  John David Anglin  <danglin@gcc.gnu.org>

	PR ld/31148

bfd/ChangeLog:

	* elf32-hppa.c (elf32_hppa_finish_dynamic_symbol): Output
	relative reloc only when eh->root.type is bfd_link_hash_defined
	or bfd_link_hash_defweak.
1 file changed