binutils-gdb/ld/testsuite
H.J. Lu 9e2dec4710 Properly mark the plugin symbol undefined
Mark the unused plugin defined symbol in elf_link_input_bfd instead of
_bfd_elf_fix_symbol_flags.  Limit the PR ld/12365 test to x86 targets.

bfd/

	PR ld/12365
	PR ld/14272
	* elflink.c (_bfd_elf_fix_symbol_flags): Revert the last change.
	(elf_link_input_bfd): Mark the plugin symbol undefined if it is
	referenced from a non-IR file.

ld/testsuite/

	PR ld/12365
	PR ld/14272
	* ld-plugin/lto.exp: Run the PR ld/12365 test only for x86 targets.
	* ld-plugin/plugin-7.d: Updated.
	* ld-plugin/plugin-8.d: Likewise.
2015-02-06 04:29:35 -08:00
..
config ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ld-aarch64 [AArch64] Fix function pointer variable with -Bsymbolic-functions 2015-01-13 11:36:54 +00:00
ld-alpha ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ld-arm [ARM] Reject R_ARM_REL32 when trying to defer it to runtime 2015-01-14 19:11:54 +00:00
ld-auto-import ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ld-avr ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ld-bootstrap ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ld-cdtest ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ld-checks ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ld-cris Fix garbage collection of common symbols 2015-01-19 21:26:30 +10:30
ld-crx ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ld-cygwin ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ld-d10v ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ld-discard ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ld-elf ld: don't use ia64 register name in expression of pr16322 test 2015-01-28 10:04:51 +01:00
ld-elfcomm ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ld-elfvers ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ld-elfvsb ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ld-elfweak ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ld-fastcall ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ld-frv ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ld-gc Fix garbage collection of common symbols 2015-01-19 21:26:30 +10:30
ld-h8300 ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ld-i386 ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ld-ia64 ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ld-ifunc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ld-libs ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ld-linkonce ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ld-m68hc11 ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ld-m68k ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ld-mep ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ld-metag ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ld-mips-elf ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ld-misc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ld-mmix Fix garbage collection of common symbols 2015-01-19 21:26:30 +10:30
ld-mn10300 ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ld-nds32 ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ld-nios2 Nios II CALL26 linker relaxation 2014-01-30 17:47:07 -08:00
ld-pe ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ld-pie ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ld-plugin Properly mark the plugin symbol undefined 2015-02-06 04:29:35 -08:00
ld-powerpc Correct PowerPC64 local-dynamic TLS linker optimization 2015-01-29 13:13:02 +10:30
ld-s390 S/390: Add support for IBM z13. 2015-01-16 12:28:58 +01:00
ld-scripts Allow symbols in MEMORY region specification 2015-01-28 15:06:48 +10:30
ld-selective ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ld-sh ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ld-shared ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ld-size ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ld-sparc ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ld-spu ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ld-srec ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ld-tic6x ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ld-tilegx ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ld-tilepro ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ld-undefined ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ld-unique ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ld-v850 ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ld-vax-elf ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ld-versados ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ld-visium ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ld-vxworks ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ld-x86-64 Don't complain about -fPIC for undefined symbol 2015-01-15 11:08:59 -08:00
ld-xc16x ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ld-xstormy16 ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ld-xtensa ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
lib Move -rc before $aropts 2015-01-29 11:11:03 -08:00
ChangeLog Properly mark the plugin symbol undefined 2015-02-06 04:29:35 -08:00
ChangeLog-2004 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-2005 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-2006 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-2007 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-2008 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-2009 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-2010 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-2011 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-2012 Rotate binutils ChangeLog for 2013 2013-01-02 17:06:32 +00:00
ChangeLog-2013 New Year - binutils ChangeLog rotation 2014-01-08 05:32:12 -08:00
ChangeLog-2014 ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ChangeLog-9303 Add copyright notices 2012-12-10 12:48:03 +00:00