]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - bfd/elf32-hppa.c
* elflink.h (elf_link_input_bfd): Zero the reloc instead of doing
authorAlan Modra <amodra@gmail.com>
Tue, 23 Oct 2001 03:55:24 +0000 (03:55 +0000)
committerAlan Modra <amodra@gmail.com>
Tue, 23 Oct 2001 03:55:24 +0000 (03:55 +0000)
commitce757d1518cabb829fb42080a08c17892aa34f76
treedf2b3410a89da66a2b31b718eb6d39d24fe14df7
parenta1675ea138b8dbd9420135fd04f147db8cccc9a1
* elflink.h (elf_link_input_bfd): Zero the reloc instead of doing
bfd_reloc_type_lookup (bfd, BFD_RELOC_NONE) as bfd_reloc_type_lookup
doesn't accept BFD_RELOC_* on some targets, eg. hppa.

* elf32-hppa.c (elf32_hppa_link_hash_entry): Remove plt_abs.
(hppa_link_hash_newfunc): Likewise.
(elf32_hppa_finish_dynamic_symbol): Likewise.
(allocate_dynrelocs): Always allocate .got relocs if shared.
(elf32_hppa_relocate_section): Output them too.  Similarly
consolidate .plt reloc code, and no longer initialise .plt
when a reloc is output.
(elf32_hppa_finish_dynamic_symbol): Only initialise .plt entries
when no reloc is output.

From Herbert Xu <herbert@gondor.apana.org.au>
* elf32-hppa.c (final_link_relocate): Call bfd_set_error for
unreachable branches.
bfd/ChangeLog
bfd/elf32-hppa.c
bfd/elflink.h