binutils-gdb/ld/testsuite
Thomas Preud'homme 33ea299c25 Fix ld action in run_dump_test
run_dump_test proposes an ld action but when trying to make use of it in
a gas test it gave me some Tcl error. It turns out that it references
the check_shared_lib_support procedure and ld_elf_shared_opt variable
both only available in ld-lib.exp. I've thus moved the procedure in
binutils-common.exp and defined the variable needed in the various
default.exp of testsuite that seem to be using run_dump_test.

Since check_shared_lib_support itself references the ld variable not
defined in binutils-common I've defined it from LD in run_dump_test and
fixed LD and LDFLAGS to be defined as expected by run_dump_test in the
various default.exp of testsuite using run_dump_test.

2018-11-01  Thomas Preud'homme  <thomas.preudhomme@linaro.org>

binutils/
	* testsuite/config/default.exp: Define LD, LDFLAGS and
	ld_elf_shared_opt.
	* testsuite/lib/binutils-common.exp (check_shared_lib_support): Moved
	from ld-lib.exp.
	(run_dump_test): Set ld to $LD.

gas/
	* testsuite/config/default.exp: Define LD, LDFLAGS and
	ld_elf_shared_opt.

ld/
	* testsuite/lib/ld-lib.exp (check_shared_lib_support): Moved to
	binutils-common.exp.
2018-11-01 17:19:17 +00:00
..
config
ld-aarch64
ld-alpha
ld-arc
ld-arm
ld-auto-import
ld-avr Fix more fallout from 17f6ade235 2018-09-21 09:55:38 +09:30
ld-bootstrap
ld-cdtest
ld-checks ld: Add the entry symbol, _main, for LynxOS targets 2018-09-20 12:31:20 -07:00
ld-cris
ld-crx
ld-csky
ld-cygwin
ld-d10v Consolidate run_dump_test 2018-09-15 16:56:55 +09:30
ld-discard
ld-elf alpha testsuite fixes 2018-10-23 21:09:09 +10:30
ld-elfcomm Andes Technology has good news for you, we plan to update the nds32 port of binutils on upstream! 2018-09-20 13:32:58 +01:00
ld-elfvers
ld-elfvsb
ld-elfweak
ld-fastcall
ld-frv
ld-gc Consolidate run_dump_test 2018-09-15 16:56:55 +09:30
ld-h8300
ld-i386 x86: Don't add GNU_PROPERTY_X86_FEATURE_2_NEEDED for -z separate-code 2018-10-08 05:14:13 -07:00
ld-ia64
ld-ifunc ld: Append -mx86-used-note=no to ASFLAGS 2018-08-31 04:48:05 -07:00
ld-libs
ld-linkonce
ld-m68hc11
ld-m68k
ld-mep
ld-metag
ld-mips-elf PR ld/21375: MIPS: Add test cases for undefined weaks resolving to zero 2018-09-14 20:22:57 +01:00
ld-misc
ld-mmix
ld-mn10300
ld-msp430-elf
ld-nds32 Andes Technology has good news for you, we plan to update the nds32 port of binutils on upstream! 2018-09-20 13:32:58 +01:00
ld-nios2
ld-or1k or1k: Add the l.adrp insn and supporting relocations 2018-10-05 11:41:41 +09:00
ld-pe
ld-pie
ld-plugin ELF: Hide symbols defined in discarded input sections 2018-10-24 18:08:24 -07:00
ld-powerpc Separate header PT_LOAD for -z separate-code 2018-10-08 20:26:08 +10:30
ld-pru
ld-riscv-elf RISC-V: Adjust __global_pointer$ value to reduce code size. 2018-10-15 16:00:28 -07:00
ld-s12z S12Z Add tests for relocs. 2018-09-16 17:50:09 +02:00
ld-s390 S/390: Prevent GOT access rewrite for certain symbols 2018-09-17 11:01:24 +02:00
ld-scripts A few hppa testcase tidies 2018-09-17 23:17:14 +09:30
ld-selective
ld-sh
ld-shared
ld-size Ensure that binutils test names are unique. 2018-09-17 10:10:47 +01:00
ld-sparc
ld-spu Separate header PT_LOAD for -z separate-code 2018-10-08 20:26:08 +10:30
ld-srec ld: Append -Wa,-mx86-used-note=no for S-records tests 2018-08-31 04:44:59 -07:00
ld-tic6x Separate header PT_LOAD for -z separate-code 2018-10-08 20:26:08 +10:30
ld-tilegx
ld-tilepro
ld-undefined
ld-unique Ensure that binutils test names are unique. 2018-09-17 10:10:47 +01:00
ld-v850
ld-vax-elf
ld-visium
ld-vxworks
ld-x86-64 x86: Don't add GNU_PROPERTY_X86_FEATURE_2_NEEDED for -z separate-code 2018-10-08 05:14:13 -07:00
ld-xc16x
ld-xstormy16
ld-xtensa
ld-z8k
lib Fix ld action in run_dump_test 2018-11-01 17:19:17 +00:00
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