old-cross-binutils/ld/testsuite
David S. Miller d0c9aeb3fc include/
* elf/sparc.h (R_SPARC_JMP_IREL, R_SPARC_IRELATIVE): Define.

bfd/

	* reloc.c (BFD_RELOC_SPARC_JMP_IREL): New.
	(BFD_RELOC_SPARC_IRELATIVE): Likewise.
	* bfd-in2.h: Regenerate.
	* libbfd.h: Regenerate.

	* elfxx-sparc.h (_bfd_sparc_elf_link_hash_table): Add loc_hash_table
	and loc_hash_memory.
	(_bfd_sparc_elf_link_hash_table_free): Declare.
	* elf32-sparc.c (elf32_sparc_add_symbol_hook): New.
	(elf_backend_add_symbol_hook, elf_backend_post_process_headers,
	bfd_elf32_bfd_link_hash_table_free): Define.
	* elf64-sparc.c (elf64_sparc_add_symbol_hook): Set
	has_ifunc_symbols if STT_GNU_IFUNC.
	(bfd_elf64_bfd_link_hash_table_free): Define.
	(elf_backend_post_process_headers): Define always.
	* elfxx-sparc.c (sparc_jmp_irel_howto, sparc_irelative_howto): New.
	(sparc_reloc_map): Add entries for new IFUNC relocs.
	(_bfd_sparc_elf_reloc_type_lookup): Handle new IFUNC relocs.
	(_bfd_sparc_elf_info_to_howto_ptr): Likewise.
	(elf_sparc_local_htab_hash, elf_sparc_local_htab_eq,
	elf_sparc_get_local_sym_hash): New.
	(_bfd_sparc_elf_create_dynamic_sections): Move PLT ops initialization
	from here...
	(_bfd_sparc_elf_link_hash_table_create): ... to here.  Allocate
	local hash table.
	(_bfd_sparc_elf_link_hash_table_free): New.
	(create_ifunc_sections): New.
	(_bfd_sparc_elf_check_relocs): Unconditionally assign htab->elf.dynobj
	and call create_ifunc_sections().  For local STT_GNU_IFUNC symbols
	cons up a fake local hash table entry for it.  Unconditionally add
	a PLT refcount for STT_GNU_IFUNC symbols when h->def_regular.  Count
	dyn relocs for ifunc.
	(_bfd_sparc_elf_adjust_dynamic_symbol): Handle ifunc.
	(allocate_dynrelocs):  Unconditionally emit a PLT entry when STT_GNU_IFUNC
	and h->def_regular.  Count GOT dyn relocs for ifunc.
	(allocate_local_dynrelocs): New function.
	(_bfd_sparc_elf_size_dynamic_sections): Invoke it over the local hash table.
	Emit dynamic relocs to irelplt when not shared.  Treat iplt like splt.
	(_bfd_sparc_elf_relocate_section): Handle ifunc relocations by hand.
	(_bfd_sparc_elf_finish_dynamic_symbol): Adjust for non-dynamic ifunc plt
	in iplt/irelplt.

ld/testsuite/

	* ld-ifunc/ifunc.exp: Run for sparc.
2010-02-08 20:28:43 +00:00
..
config update copyright dates 2009-09-02 07:25:43 +00:00
ld-alpha bfd/ 2009-09-24 15:56:52 +00:00
ld-arm Fix testsuite for Thumb2 jump reloc veneers. 2010-02-01 10:33:16 +00:00
ld-auto-import update copyright dates 2009-09-02 07:25:43 +00:00
ld-bootstrap * bootstrap.exp: Detect if plugins are enabled. Skip the static 2009-10-16 10:32:51 +00:00
ld-cdtest update copyright dates 2009-09-02 07:25:43 +00:00
ld-checks update copyright dates 2009-09-02 07:25:43 +00:00
ld-cris * ld-cris/dso12-pltdis.d: New test. 2009-10-29 11:50:57 +00:00
ld-crx update copyright dates 2009-09-02 07:25:43 +00:00
ld-cygwin update copyright dates 2009-09-02 07:25:43 +00:00
ld-d10v update copyright dates 2009-09-02 07:25:43 +00:00
ld-discard update copyright dates 2009-09-02 07:25:43 +00:00
ld-elf Support 64bit targets. 2010-01-14 14:29:51 +00:00
ld-elfcomm * ld-elfcomm/elfcomm.exp: Compile with -fcommon. 2009-10-30 10:46:00 +00:00
ld-elfvers Tolerate some whitespace differences in readelf output. 2009-09-23 03:12:28 +00:00
ld-elfvsb bfd/ 2009-09-24 15:56:52 +00:00
ld-elfweak update copyright dates 2009-09-02 07:25:43 +00:00
ld-fastcall update copyright dates 2009-09-02 07:25:43 +00:00
ld-frv Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-gc Properly check undefined symbols when gc_sections is active. 2010-01-26 13:21:36 +00:00
ld-h8300 update copyright dates 2009-09-02 07:25:43 +00:00
ld-i386 bfd/ 2009-09-24 15:56:52 +00:00
ld-ia64 Checked in the missing testcases. 2009-10-07 18:33:20 +00:00
ld-ifunc include/ 2010-02-08 20:28:43 +00:00
ld-libs binutils/testsuite/ 2009-04-16 04:24:07 +00:00
ld-linkonce update copyright dates 2009-09-02 07:25:43 +00:00
ld-m68hc11 update copyright dates 2009-09-02 07:25:43 +00:00
ld-m68k update copyright dates 2009-09-02 07:25:43 +00:00
ld-maxq update copyright dates 2009-09-02 07:25:43 +00:00
ld-mep Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-mips-elf 2010-01-13 Chao-ying Fu <fu@mips.com> 2010-01-13 22:34:28 +00:00
ld-mmix Tolerate some whitespace differences in readelf output. 2009-09-23 03:12:28 +00:00
ld-mn10300 Tolerate some whitespace differences in readelf output. 2009-09-23 03:12:28 +00:00
ld-pe 2009-11-15 Kai Tietz <kai.tietz@onevision.com> 2009-11-15 07:52:45 +00:00
ld-pie update copyright dates 2009-09-02 07:25:43 +00:00
ld-powerpc bfd/ 2010-02-08 07:09:39 +00:00
ld-s390 bfd/ 2009-09-24 15:56:52 +00:00
ld-scripts * config/tc-h8300.c (h8300_elf_section): New function - issue a 2010-01-13 14:08:54 +00:00
ld-selective update copyright dates 2009-09-02 07:25:43 +00:00
ld-sh PR 11225 2010-01-28 15:25:20 +00:00
ld-shared update copyright dates 2009-09-02 07:25:43 +00:00
ld-sparc bfd/ 2009-09-24 15:56:52 +00:00
ld-spu bfd/ 2009-10-01 13:09:56 +00:00
ld-srec * lib/ld-lib.exp (ld_simple_link_defsyms): New proc, adding 2009-10-01 23:29:29 +00:00
ld-undefined 2009-09-14 H.J. Lu <hongjiu.lu@intel.com> 2009-09-14 14:07:26 +00:00
ld-v850 Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-versados update copyright dates 2009-09-02 07:25:43 +00:00
ld-vxworks Tolerate some whitespace differences in readelf output. 2009-09-23 03:12:28 +00:00
ld-x86-64 Rewrite prefix processing. 2009-11-13 20:42:10 +00:00
ld-xc16x update copyright dates 2009-09-02 07:25:43 +00:00
ld-xstormy16 update copyright dates 2009-09-02 07:25:43 +00:00
ld-xtensa bfd/ 2009-09-24 15:56:52 +00:00
lib bfd/ 2009-12-09 21:42:00 +00:00
ChangeLog include/ 2010-02-08 20:28:43 +00:00
ChangeLog-2004 split changelogs 2006-01-16 23:15:07 +00:00
ChangeLog-2005 split changelogs 2006-01-16 23:15:07 +00:00
ChangeLog-2006 Move 2006 ChangeLog entries to ChangeLog-2006. 2007-01-09 17:30:59 +00:00
ChangeLog-2007 bfd/ 2008-01-07 16:45:35 +00:00
ChangeLog-2008 bfd/ 2009-01-02 16:48:11 +00:00
ChangeLog-2009 Move 2009 binutils ChangeLog to ChangeLog-2009. 2010-01-01 18:06:10 +00:00
ChangeLog-9303 Split ChangeLog files. 2004-01-02 11:16:21 +00:00