* elf32-hppa.c (hppa_type_of_stub): Correct and simplify condition
commitc592397daa73679d8a7afa1c47865325ff709f2b
authorAlan Modra <amodra@bigpond.net.au>
Tue, 23 Apr 2002 05:11:23 +0000 (23 05:11 +0000)
committerAlan Modra <amodra@bigpond.net.au>
Tue, 23 Apr 2002 05:11:23 +0000 (23 05:11 +0000)
tree6829bf68ca625d386eb2b79e7bea8c01b2670bee
parentcecb358c8de2c5f76702a2809d24e19cb65fc863
* 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