binutils-gdb/ld/testsuite
H.J. Lu 3db2e7dda6 Handle STT_GNU_IFUNC symols when building shared library.
bfd/

2012-01-06  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/12366
	PR ld/12371
	* elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Properly
	handle symbols marked with regular reference, but not non-GOT
	reference when building shared library.

	* elf32-i386.c (elf_i386_gc_sweep_hook): Properly handle
	local and global STT_GNU_IFUNC symols when building shared
	library.
	* elf64-x86-64.c (elf_x86_64_gc_sweep_hook): Likewise.

ld/testsuite/

2012-01-06  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/12366
	PR ld/12371
	* ld-ifunc/ifunc-10-i386.s: Add more tests.
	* ld-ifunc/ifunc-10-x86-64.s: Likewise.
	* ld-ifunc/ifunc-11-i386.s: Likewise.
	* ld-ifunc/ifunc-11-x86-64.s: Likewise.

	* ld-ifunc/ifunc-12-i386.d: New.
	* ld-ifunc/ifunc-12-i386.s: Likewise.
	* ld-ifunc/ifunc-12-x86-64.d: Likewise.
	* ld-ifunc/ifunc-12-x86-64.s: Likewise.
	* ld-ifunc/ifunc-13-i386.d: Likewise.
	* ld-ifunc/ifunc-13-x86-64.d: Likewise.
	* ld-ifunc/ifunc-13a-i386.s: Likewise.
	* ld-ifunc/ifunc-13a-x86-64.s: Likewise.
	* ld-ifunc/ifunc-13b-i386.s: Likewise.
	* ld-ifunc/ifunc-13b-x86-64.s: Likewise.
2011-01-06 18:45:05 +00:00
..
config
ld-alpha
ld-arm
ld-auto-import
ld-bootstrap * ld-bootstrap/bootstrap.exp: Fix misplaced comment. 2010-12-20 13:05:00 +00:00
ld-cdtest
ld-checks
ld-cris
ld-crx
ld-cygwin
ld-d10v
ld-discard
ld-elf Adjust URLs. 2010-12-21 11:00:48 +00:00
ld-elfcomm PR ld/12360 2010-12-31 22:29:19 +00:00
ld-elfvers
ld-elfvsb
ld-elfweak Adjust URLs. 2010-12-21 11:00:48 +00:00
ld-fastcall
ld-frv
ld-gc
ld-h8300
ld-i386
ld-ia64
ld-ifunc Handle STT_GNU_IFUNC symols when building shared library. 2011-01-06 18:45:05 +00:00
ld-libs
ld-linkonce
ld-m68hc11
ld-m68k
ld-mep
ld-mips-elf bfd/ 2010-12-31 11:01:00 +00:00
ld-misc Add a testcase for PR ld/12001. 2011-01-02 16:04:32 +00:00
ld-mmix
ld-mn10300
ld-pe 2010-12-21 Kai Tietz <kai.tietz@onevision.com> 2010-12-21 15:24:39 +00:00
ld-pie
ld-plugin
ld-powerpc
ld-s390
ld-scripts Add testcases for PR ld/12327. 2010-12-28 18:04:10 +00:00
ld-selective
ld-sh
ld-shared
ld-sparc
ld-spu
ld-srec
ld-tic6x
ld-undefined * ld-undefined/undefined.exp (testline): XFAIL hppa*64*-*-*. 2010-12-31 22:56:36 +00:00
ld-v850
ld-versados
ld-vxworks
ld-x86-64 Don't allow mixing x64_32 with x86_64. 2011-01-03 18:16:46 +00:00
ld-xc16x
ld-xstormy16
ld-xtensa
lib
ChangeLog Handle STT_GNU_IFUNC symols when building shared library. 2011-01-06 18:45:05 +00:00
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010 Rotate binutils ChangeLogs. 2011-01-01 16:43:53 +00:00
ChangeLog-9303