This is the mail archive of the
binutils-cvs@sources.redhat.com
mailing list for the binutils project.
src/bfd ChangeLog elf32-sh.c
- From: sclarke at sources dot redhat dot com
- To: binutils-cvs at sources dot redhat dot com
- Date: 2 Oct 2002 21:53:41 -0000
- Subject: src/bfd ChangeLog elf32-sh.c
CVSROOT: /cvs/src
Module name: src
Changes by: sclarke@sources.redhat.com 2002-10-02 14:53:41
Modified files:
bfd : ChangeLog elf32-sh.c
Log message:
* 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.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/bfd/ChangeLog.diff?cvsroot=src&r1=1.1740&r2=1.1741
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/bfd/elf32-sh.c.diff?cvsroot=src&r1=1.58&r2=1.59