binutils-gdb/ld/testsuite
H.J. Lu 90c984fc53 Properly handle indirect symbols
2012-07-03  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/3351
	* elflink.c (_bfd_elf_update_dynamic_flags): New.
	(_bfd_elf_merge_symbol): Update both real and indirect symbol
	dynamic flags.
	(_bfd_elf_add_default_symbol): Make the real symbol dynamic if
	the indirect symbol is defined in a shared library.
	(elf_link_add_object_symbols): Likewise.  If the indirect
	symbol has been forced local, don't make the real symbol
	dynamic.
	(elf_link_check_versioned_symbol): Check indirect symbol.
	(elf_link_output_extsym): Use real symbol definition when
	reporting indirect symbol error.  Check version info for
	dynamic versioned symbol.

2012-07-03  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/3351
	* ld-elf/indirect.exp: New file.
	* ld-elf/indirect1a.c: Likewise.
	* ld-elf/indirect1b.c: Likewise.
	* ld-elf/indirect1c.c: Likewise.
	* ld-elf/indirect2.c: Likewise.
	* ld-elf/indirect3.out: Likewise.
	* ld-elf/indirect3a.c: Likewise.
	* ld-elf/indirect3b.c: Likewise.
	* ld-elf/indirect3c.c: Likewise.
	* ld-elf/indirect4.out: Likewise.
	* ld-elf/indirect4a.c: Likewise.
	* ld-elf/indirect4b.c: Likewise.
	* ld-elf/indirect4c.c: Likewise.
2012-07-03 14:44:35 +00:00
..
config
ld-alpha
ld-arm ld/testsuite/ 2012-06-28 16:31:57 +00:00
ld-auto-import
ld-bootstrap
ld-cdtest
ld-checks
ld-cris Trim last, empty, line 2012-06-18 06:19:02 +00:00
ld-crx
ld-cygwin
ld-d10v
ld-discard
ld-elf Properly handle indirect symbols 2012-07-03 14:44:35 +00:00
ld-elfcomm
ld-elfvers
ld-elfvsb
ld-elfweak
ld-fastcall
ld-frv
ld-gc ld/ 2012-06-21 03:33:00 +00:00
ld-h8300
ld-i386 ld/testsuite/ 2012-07-02 18:20:31 +00:00
ld-ia64
ld-ifunc
ld-libs
ld-linkonce
ld-m68hc11
ld-m68k
ld-mep
ld-mips-elf
ld-misc
ld-mmix
ld-mn10300
ld-pe
ld-pie
ld-plugin
ld-powerpc
ld-s390
ld-scripts
ld-selective
ld-sh
ld-shared
ld-sparc
ld-spu
ld-srec
ld-tic6x
ld-tilegx
ld-tilepro
ld-undefined
ld-unique
ld-v850
ld-versados
ld-vxworks
ld-x86-64 ld/testsuite/ 2012-07-02 18:20:31 +00:00
ld-xc16x
ld-xstormy16
ld-xtensa
lib
ChangeLog Properly handle indirect symbols 2012-07-03 14:44:35 +00:00
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-9303