diff options
author | Stephen Clarke <stephen.clarke@earthling.net> | 2002-10-02 21:53:40 +0000 |
---|---|---|
committer | Stephen Clarke <stephen.clarke@earthling.net> | 2002-10-02 21:53:40 +0000 |
commit | 4989d792c87e7f545ad83e6f24dc2396db4c31e9 (patch) | |
tree | 55537af5414d78696b760f1bb97edfa8712eb87f /bfd/ChangeLog | |
parent | 10abb1d48f43709403aa230f669c2c17ffadff04 (diff) | |
download | gdb-4989d792c87e7f545ad83e6f24dc2396db4c31e9.zip gdb-4989d792c87e7f545ad83e6f24dc2396db4c31e9.tar.gz gdb-4989d792c87e7f545ad83e6f24dc2396db4c31e9.tar.bz2 |
* elf32-sh.c (elf_sh_link_hash_entry): Add gotplt_refcount.
(sh_elf_link_hash_newfunc): Initialize it.
(allocate_dynrelocs): Transfer gotplt refs from plt.refcount
to got.refcount for symbols that are forced local or when
we have direct got refs.
(sh_elf_gc_sweep_hook): Adjust gotplt_refcount. Use it
to correctly adjust got.refcount and plt.refcount.
(sh_elf_copy_indirect_symbol): Copy gotplt_refcount across.
(sh_elf_check_relocs): Increment gotplt_refcount.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 90d90d2..f2c7a38 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,15 @@ +2002-10-02 Stephen Clarke <stephen.clarke@superh.com> + + * elf32-sh.c (elf_sh_link_hash_entry): Add gotplt_refcount. + (sh_elf_link_hash_newfunc): Initialize it. + (allocate_dynrelocs): Transfer gotplt refs from plt.refcount + to got.refcount for symbols that are forced local or when + we have direct got refs. + (sh_elf_gc_sweep_hook): Adjust gotplt_refcount. Use it + to correctly adjust got.refcount and plt.refcount. + (sh_elf_copy_indirect_symbol): Copy gotplt_refcount across. + (sh_elf_check_relocs): Increment gotplt_refcount. + 2002-10-01 Jakub Jelinek <jakub@redhat.com> * elf32-i386.c (elf_i386_relocate_section): Fix |