old-cross-binutils/ld/testsuite
H.J. Lu bb1cb422ae Support garbage collection against STT_GNU_IFUNC symbols.
bfd/

2010-07-13  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/11791
	* elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Support
	garbage collection against STT_GNU_IFUNC symbols.

	* elf32-i386.c (elf_i386_get_local_sym_hash): Don't set
	elf.plt.offset/elf.got.offset to -1.
	(elf_i386_tls_transition): Skip TLS transition for functions.
	(elf_i386_gc_sweep_hook): Support STT_GNU_IFUNC symbols.

	* elf64-x86-64.c (elf64_x86_64_get_local_sym_hash): Don't set
	elf.plt.offset/elf.got.offset to -1.
	(elf64_x86_64_tls_transition): Skip TLS transition for functions.
	(elf64_x86_64_gc_sweep_hook): Support STT_GNU_IFUNC symbols.

ld/testsuite/

2010-07-13  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/11791
	* ld-ifunc/ifunc-10-i386.d: New.
	* ld-ifunc/ifunc-10-i386.s: Likewise.
	* ld-ifunc/ifunc-10-x86-64.d: Likewise.
	* ld-ifunc/ifunc-10-x86-64.s: Likewise.
	* ld-ifunc/ifunc-11-i386.d: Likewise.
	* ld-ifunc/ifunc-11-i386.s: Likewise.
	* ld-ifunc/ifunc-11-x86-64.d: Likewise.
	* ld-ifunc/ifunc-11-x86-64.s: Likewise.
2010-07-13 16:59:14 +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 * gas/testsuite/gas/arm/thumb-eabi.d: Add case for divided syntax encoding of movs. 2010-06-07 10:43:52 +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 PR ld/11458 2010-03-31 13:23:40 +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 bfd: 2010-06-16 00:36:04 +00:00
ld-elfcomm * ld-elfcomm/elfcomm.exp: Compile with -fcommon. 2009-10-30 10:46:00 +00:00
ld-elfvers * ld-elfvers/vers.exp: Pass -Av9a to assembler on sparc-*-* 2010-04-06 11:53:16 +00:00
ld-elfvsb * ld-elfvsb/elfvsb.exp: Fix tests for arm*-*-linux*. 2010-02-09 10:46:27 +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/ 2010-04-22 01:51:01 +00:00
ld-ia64 Checked in the missing testcases. 2009-10-07 18:33:20 +00:00
ld-ifunc Support garbage collection against STT_GNU_IFUNC symbols. 2010-07-13 16:59:14 +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-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 2010-04-05 Kai Tietz <kai.tietz@onevision.com> 2010-04-05 09:02:58 +00:00
ld-pie update copyright dates 2009-09-02 07:25:43 +00:00
ld-powerpc bfd/ 2010-07-06 09:29:47 +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 2010-05-21 Daniel Jacobowitz <dan@codesourcery.com> 2010-05-25 14:12:43 +00:00
ld-shared * ld-elfvsb/elfvsb.exp: Fix tests for arm*-*-linux*. 2010-02-09 10:46:27 +00:00
ld-sparc bfd/ 2010-02-11 19:57:40 +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-tic6x bfd: 2010-06-16 00:36:04 +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 Don't bind unique symbol locally. 2010-04-07 02:41:35 +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 * lib/ld-lib.exp (default_ld_simple_link): Add $gcc_ld_flag before 2010-07-01 13:15:47 +00:00
ChangeLog Support garbage collection against STT_GNU_IFUNC symbols. 2010-07-13 16:59:14 +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