OSDN Git Service

* elf32-i386 (elf_i386_copy_indirect_symbol): New function.
authoramodra <amodra>
Wed, 26 Sep 2001 09:25:04 +0000 (09:25 +0000)
committeramodra <amodra>
Wed, 26 Sep 2001 09:25:04 +0000 (09:25 +0000)
commiteb401e3b447ebf599dc4df23714782043d0457fd
treee0dea94f43e8ce869f0028e9561109c8dcb63d3b
parentd73af93670a61666ab27ac03504aa8cd898716a4
* elf32-i386 (elf_i386_copy_indirect_symbol): New function.
(elf_backend_copy_indirect_symbol): Define.
(struct elf_i386_link_hash_entry): Rename "root" to "elf".
(struct elf_i386_link_hash_table): Likewise.
(link_hash_newfunc): Get rid of unnecessary casts.
(elf_i386_link_hash_table_create): Likewise.
(elf_i386_check_relocs): Initialise local_got_refcounts to 0.
Don't test input section SEC_READONLY here to try to avoid copy
relocs, and keep dyn_relocs regardleas of ELF_LINK_NON_GOT_REF.
(elf_i386_adjust_dynamic_symbol): Check output section SEC_READONLY
here to properly test whether we need copy relocs.  Do so for weak
syms too.

* elf32-hppa (elf32_hppa_copy_indirect_symbol): New function.
(elf_backend_copy_indirect_symbol): Define.
(struct elf32_hppa_link_hash_table): Rename "root" to "elf".
(stub_hash_newfunc): Get rid of unnecessary casts.
(hppa_link_hash_newfunc): Likewise.
(elf32_hppa_check_relocs): Initialise local_got_refcounts to 0.
Don't test input section SEC_READONLY here to try to avoid copy
relocs, and keep dyn_relocs regardleas of ELF_LINK_NON_GOT_REF.
(elf32_hppa_adjust_dynamic_symbol): Check output section SEC_READONLY
here to properly test whether we need copy relocs.  Do so for weak
syms too.
bfd/ChangeLog
bfd/elf32-hppa.c
bfd/elf32-i386.c