binutils-gdb/ld/testsuite
H.J. Lu 0e6a3f07f5 ld: Properly override the IR definition
We change the previous definition in the IR object to undefweak only
after all LTO symbols have been read.

include/

	PR ld/26262
	PR ld/26267
	* bfdlink.h (bfd_link_info): Add lto_all_symbols_read.

ld/

	PR ld/26262
	PR ld/26267
	* ldlang.c (lang_process): Set lto_all_symbols_read after all
	LTO IR symbols have been read.
	* plugin.c (plugin_notice): Override the IR definition only if
	all LTO IR symbols have been read or the new definition is
	non-weak and the the IR definition is weak
	* testsuite/ld-plugin/lto.exp: Run PR ld/26262 and ld/26267
	tests.
	* testsuite/ld-plugin/pr26262a.c: New file.
	* testsuite/ld-plugin/pr26262b.c: Likewise.
	* testsuite/ld-plugin/pr26262c.c: Likewise.
	* testsuite/ld-plugin/pr26267.err: Likewise.
	* testsuite/ld-plugin/pr26267a.c: Likewise.
	* testsuite/ld-plugin/pr26267b.c: Likewise.
	* testsuite/ld-plugin/pr26267c.c: Likewise.
2020-07-22 03:49:17 -07:00
..
config
ld-aarch64
ld-alpha
ld-arc
ld-arm Re: Change readelf's display of symbol names 2020-07-03 17:15:16 +09:30
ld-auto-import
ld-avr
ld-bootstrap
ld-bpf
ld-cdtest
ld-checks Use is_xcoff_format in ld testsuite 2020-07-07 18:26:34 +09:30
ld-cris cris: Don't generate unnecessary dynamic tags 2020-06-24 04:00:31 -07:00
ld-crx
ld-csky csky: Don't generate unnecessary dynamic tags 2020-06-24 06:14:28 -07:00
ld-cygwin
ld-d10v
ld-discard
ld-dynamic
ld-elf Remove x86 NaCl target support 2020-06-30 08:56:14 -07:00
ld-elfcomm
ld-elfvers Use is_xcoff_format in ld testsuite 2020-07-07 18:26:34 +09:30
ld-elfvsb Use is_xcoff_format in ld testsuite 2020-07-07 18:26:34 +09:30
ld-elfweak Use is_xcoff_format in ld testsuite 2020-07-07 18:26:34 +09:30
ld-fastcall
ld-frv
ld-gc PR26265, Spurious 'gc-sections requires ... when --init or --fini 2020-07-20 22:21:11 +09:30
ld-h8300
ld-i386 x86: Update PR gas/26263 linker tests 2020-07-20 04:53:58 -07:00
ld-ia64
ld-ifunc x86: avoid attaching suffixes to unambiguous insns 2020-07-15 08:53:55 +02:00
ld-libs
ld-linkonce
ld-m68hc11
ld-m68k m68k: tag floating-point ABI used 2020-06-26 14:42:19 +09:30
ld-mep
ld-metag
ld-mips-elf Change readelf's display of symbol names (when not in --wide mode) so that if they are going to be truncated then "[...]" is displayed at the end. Add a comment line option to disable this enhancement and restore the old behaviour. 2020-07-02 11:30:52 +01:00
ld-misc
ld-mmix ld: optionally emit _etext last, before .data 2020-07-19 06:08:07 +02:00
ld-mn10300
ld-msp430-elf
ld-nds32
ld-nios2
ld-or1k
ld-pdp11
ld-pe
ld-pie
ld-plugin ld: Properly override the IR definition 2020-07-22 03:49:17 -07:00
ld-powerpc Fix problem running a few PowerPC linker tests when the .data section is retained. 2020-07-20 14:57:38 +01:00
ld-pru
ld-riscv-elf RISC-V: Report warning when linking the objects with different priv specs. 2020-06-22 10:01:14 +08:00
ld-s12z
ld-s390
ld-scripts x86_64-cygwin tests 2020-07-13 22:03:59 +09:30
ld-selective
ld-sh sh vxworks tests 2020-07-07 18:26:33 +09:30
ld-shared
ld-size
ld-sparc Re: Change readelf's display of symbol names 2020-07-03 17:15:16 +09:30
ld-spu
ld-srec Use is_xcoff_format in ld testsuite 2020-07-07 18:26:34 +09:30
ld-tic6x tic6x: Call _bfd_elf_add_dynamic_tags 2020-06-29 05:53:01 -07:00
ld-tilegx
ld-tilepro
ld-undefined Use is_xcoff_format in ld testsuite 2020-07-07 18:26:34 +09:30
ld-unique
ld-v850
ld-vax-elf
ld-visium
ld-vxworks
ld-x86-64 x86: Update PR gas/26263 linker tests 2020-07-20 04:53:58 -07:00
ld-xc16x
ld-xstormy16
ld-xtensa
ld-z8k
ld-z80
lib powerpc-aix5.2 tests 2020-07-08 15:56:28 +09:30
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014
ChangeLog-2015
ChangeLog-9303