* elf32-hppa.c (hppa_type_of_stub): Correct and simplify condition
authorAlan Modra <amodra@gmail.com>
Tue, 23 Apr 2002 05:11:23 +0000 (05:11 +0000)
committerAlan Modra <amodra@gmail.com>
Tue, 23 Apr 2002 05:11:23 +0000 (05:11 +0000)
commit067fa4a66bf86d70447c382e7d728fdf8d6d7396
tree1cb7bffdda9666afda01aa65806ba101ca88d19b
parenta805a116a87a8b8849a3482d314a6f8f4c014a85
* elf32-hppa.c (hppa_type_of_stub): Correct and simplify condition
under which a plt call stub is used.
(final_link_relocate): Similarly.
(allocate_plt_static): Clear h-plabel except when plt entry is
exclusively used for a plabel.
(allocate_dynrelocs): Use the above to simplify plt sizing.
(struct elf32_hppa_link_hash_table): Add has_22bit_branch.
(elf32_hppa_link_hash_table_create): Init.
(BL22_RP): Define.
(hppa_build_one_stub): Use BL22_RP if has_22bit_branch.
(elf32_hppa_check_relocs): Set has_22bit_branch.

* elf32-hppa.c (elf32_hppa_check_relocs): Remove debug message.
(final_link_relocate): Likewise.
bfd/ChangeLog
bfd/elf32-hppa.c