* elf32-hppa.c (elf32_hppa_check_relocs): Don't NEED_PLT for
commit706c65d8ae24faa138097ae0c5db86566b5ad696
authorAlan Modra <amodra@bigpond.net.au>
Wed, 30 May 2001 14:30:33 +0000 (30 14:30 +0000)
committerAlan Modra <amodra@bigpond.net.au>
Wed, 30 May 2001 14:30:33 +0000 (30 14:30 +0000)
treea0f189df34b841b93dec8d00dc01fe9a07cff011
parentbdd3338896a756e12823a58bd24201a01c5eb48f
* elf32-hppa.c (elf32_hppa_check_relocs): Don't NEED_PLT for
millicode.  Don't allocate .got and .rela.got space here..
(elf32_hppa_gc_sweep_hook): ..and no need to deallocate here..
(elf32_hppa_adjust_dynamic_symbol): ..and don't allocate .plt and
.rela.plt here..
(hppa_handle_PIC_calls): ..nor here..
(allocate_plt_and_got): ..instead do it all here.  New function.
(elf32_hppa_size_dynamic_sections): Allocate local .got space and
call allocate_plt_and_got.  No need to zap .got if not dynamic.
(elf32_hppa_final_link): Call regular bfd_final_link instead of
gc_common_final_link.
(WILL_CALL_FINISH_DYNAMIC_SYMBOL): Define.
(elf32_hppa_relocate_section): Use it here.
(elf32_hppa_finish_dynamic_symbol): Remove superfluous test of
dynamic_sections_created.
(hppa_type_of_stub): Don't LONG_BRANCH_VIA_PLT if millicode sym.
bfd/ChangeLog
bfd/elf32-hppa.c