* elf32-hppa.c (elf32_hppa_check_relocs): Don't NEED_PLT for
authorAlan Modra <amodra@gmail.com>
Wed, 30 May 2001 14:30:33 +0000 (14:30 +0000)
committerAlan Modra <amodra@gmail.com>
Wed, 30 May 2001 14:30:33 +0000 (14:30 +0000)
commit4dc8668677b161cbbbf864f46c68abd65e153131
tree807fa087147334bd4bff74873b1294d6ca621cb6
parent16b2b71c0c71e5fc9107dc9b2747f95081cabb1b
* 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