OSDN Git Service

* elf32-hppa.c: (LONG_BRANCH_PIC_IN_SHLIB): Delete. Remove all
authorAlan Modra <amodra@bigpond.net.au>
Tue, 25 Sep 2001 07:10:59 +0000 (07:10 +0000)
committerAlan Modra <amodra@bigpond.net.au>
Tue, 25 Sep 2001 07:10:59 +0000 (07:10 +0000)
commitf531e02047657b8c809238d599a327abb1f5cc9b
tree3c6e9eb24b3d794ef011efc0ea11a8a55c4b9e02
parent33b8c5af8909d3a99a4b48be39f1ace18a3db5b4
* elf32-hppa.c: (LONG_BRANCH_PIC_IN_SHLIB): Delete.  Remove all
code handling this option.
(LONG_BRANCH_VIA_PLT): Likewise.
(RELATIVE_DYNRELOCS): Define as zero.
(struct elf32_hppa_dyn_reloc_entry): Add "sec", and
"pc_count" fields.  Remove "section" field.
(elf32_hppa_link_hash_entry): Rename reloc_entries to dyn_relocs.
(elf32_hppa_check_relocs): Don't allocate space for dynamic
relocs here.  Instead, record all needed dynamic relocs via
dyn_relocs and local_dynrel.  Cache pointer to "sreloc" section
in elf_section_data.
(elf32_hppa_gc_sweep_hook): Sweep dyn_relocs and local_dynrel.
(allocate_plt_and_got_and_discard_relocs): Rename to
allocate_dynrelocs.  Allocate rather than discarding dyn relocs.
(readonly_dynrelocs): New function.
(elf32_hppa_size_dynamic_sections): Mark output_bfd unused.
Call readonly_dynrelocs to determine need for DT_TEXTREL.
Rename "i" to "ibfd".  Allocate space for local dyn relocs.
(elf32_hppa_relocate_section): Make use of cached sreloc.
(elf32_hppa_reloc_type_class): New function.
(elf_backend_reloc_type_class): Define.
bfd/ChangeLog
bfd/elf32-hppa.c