src/bfd ChangeLog elf32-sh.c

sclarke@sources.redhat.com sclarke@sources.redhat.com
Wed Oct 2 14:53:00 GMT 2002


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



More information about the Binutils-cvs mailing list