OSDN Git Service

* elf32-hppa.c (struct elf32_hppa_link_hash_entry,
authorDave Anglin <dave.anglin@nrc.ca>
Wed, 10 Sep 2003 18:46:08 +0000 (18:46 +0000)
committerDave Anglin <dave.anglin@nrc.ca>
Wed, 10 Sep 2003 18:46:08 +0000 (18:46 +0000)
commit46b68792f4e1ce25f4a00534940807eda5cf52cd
treee8a21a3e85f464e5ef71d5ce80b128e32783db10
parent519ddb827d2c5335bd10b086d5e14ec40e5ffd2d
* elf32-hppa.c (struct elf32_hppa_link_hash_entry,
hppa_link_hash_newfunc, hppa_build_one_stub,
elf32_hppa_adjust_dynamic_symbol, mark_PIC_calls, allocate_plt_static,
allocate_dynrelocs, elf32_hppa_size_dynamic_sections,
elf32_hppa_finish_dynamic_symbol): Remove pic_call field and all code
for generating import stubs for calls to statically linked PIC
functions.
(hppa_type_of_stub): Don't generate an import stub for calls to
statically linked pic functions.  Generate import stubs for calls
in a shared object, to functions not in a regular file, and to
defined weak functions.  Add new argument INFO.
(hppa_build_one_stub): Don't undef ADDIL_DP.
(elf32_hppa_check_relocs): Don't set SEC_HAS_GOT_REF flag.
(elf32_hppa_size_stubs): Pass info to hppa_type_of_stub.
(final_link_relocate): Change all DLTIND relocs to DPREL relocs in a
non-shared link.  Convert instructions that use the the linkage table
pointer, or a facsimile thereof, to use the global data pointer when
the reloc has been changed.
bfd/ChangeLog
bfd/elf32-hppa.c