binutils-gdb/ld/testsuite
Alan Modra 669d511534 ld testsuite tidy
Fixes a few issues:
1) If you use "-fsanitize=address,undefined" in CFLAGS, the Makefile
attempt to trim off -fsanitize options left us with ",undefined".
2) ld_compile adds CFLAGS_FOR_TARGET itself, no need to pass it.
3) CFLAGS might be needed linking bootstrap test.

	* Makefile.am (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Trim off
	all -fsanitize=*.
	* Makefile.in: Regenerate.
	* testsuite/ld-bootstrap/bootstrap.exp: Use CFLAGS when linking.
	* testsuite/ld-cdtest/cdtest.exp: Use CFLAGS_FOR_TARGET when
	linking.
	* testsuite/ld-auto-import/auto-import.exp: Don't pass
	CFLAGS_FOR_TARGET to ld_compile.
	* testsuite/ld-cygwin/exe-export.exp: Likewise.
	* testsuite/ld-elfvers/vers.exp: Likewise.
	* testsuite/ld-elfvsb/elfvsb.exp: Likewise.
	* testsuite/ld-elfweak/elfweak.exp: Likewise.
	* testsuite/ld-gc/gc.exp: Likewise.
	* testsuite/ld-pe/pe-compile.exp: Likewise.
	* testsuite/ld-pe/pe-run.exp: Likewise.
	* testsuite/ld-pe/pe-run2.exp: Likewise.
	* testsuite/ld-plugin/plugin.exp: Likewise.
	* testsuite/ld-shared/shared.exp: Likewise.
	* testsuite/ld-elfcomm/elfcomm.exp: Likewise, and don't allow
	nios2 testing to trash CFLAGS_FOR_TARGET.
	* testsuite/ld-scripts/crossref.exp: Don't pass options in
	CC_FOR_TARGET, do so in CFLAGS_FOR_TARGET instead.
	* testsuite/ld-srec/srec.exp: Likewise, and for CXX.
2021-09-03 16:26:21 +09:30
..
config CC_FOR_TARGET et al 2021-09-03 16:26:09 +09:30
ld-aarch64
ld-alpha
ld-arc
ld-arm Deprecate a.out support for NetBSD targets. 2021-08-11 13:17:54 +01:00
ld-auto-import ld testsuite tidy 2021-09-03 16:26:21 +09:30
ld-avr
ld-bootstrap ld testsuite tidy 2021-09-03 16:26:21 +09:30
ld-bpf
ld-cdtest ld testsuite tidy 2021-09-03 16:26:21 +09:30
ld-checks
ld-cris Re: elf: Treat undefined version as hidden 2021-08-05 20:47:09 +09:30
ld-crx
ld-csky
ld-ctf
ld-cygwin ld testsuite tidy 2021-09-03 16:26:21 +09:30
ld-d10v
ld-discard
ld-dynamic
ld-elf CC_FOR_TARGET et al 2021-09-03 16:26:09 +09:30
ld-elfcomm ld testsuite tidy 2021-09-03 16:26:21 +09:30
ld-elfvers ld testsuite tidy 2021-09-03 16:26:21 +09:30
ld-elfvsb ld testsuite tidy 2021-09-03 16:26:21 +09:30
ld-elfweak ld testsuite tidy 2021-09-03 16:26:21 +09:30
ld-fastcall
ld-frv
ld-gc ld testsuite tidy 2021-09-03 16:26:21 +09:30
ld-h8300
ld-i386
ld-ia64
ld-ifunc CC_FOR_TARGET et al 2021-09-03 16:26:09 +09:30
ld-libs
ld-linkonce
ld-m68hc11
ld-m68k
ld-mep
ld-metag
ld-mips-elf
ld-misc
ld-mmix ld script lower-case absolute and sizeof_headers 2021-08-13 22:44:36 +09:30
ld-mn10300 CC_FOR_TARGET et al 2021-09-03 16:26:09 +09:30
ld-msp430-elf
ld-nds32
ld-nios2
ld-or1k
ld-pdp11
ld-pe ld testsuite tidy 2021-09-03 16:26:21 +09:30
ld-pie CC_FOR_TARGET et al 2021-09-03 16:26:09 +09:30
ld-plugin ld testsuite tidy 2021-09-03 16:26:21 +09:30
ld-powerpc
ld-pru
ld-riscv-elf
ld-s12z
ld-s390
ld-scripts ld testsuite tidy 2021-09-03 16:26:21 +09:30
ld-selective CC_FOR_TARGET et al 2021-09-03 16:26:09 +09:30
ld-sh CC_FOR_TARGET et al 2021-09-03 16:26:09 +09:30
ld-shared ld testsuite tidy 2021-09-03 16:26:21 +09:30
ld-size
ld-sparc
ld-spu
ld-srec ld testsuite tidy 2021-09-03 16:26:21 +09:30
ld-tic6x
ld-tilegx
ld-tilepro
ld-undefined CC_FOR_TARGET et al 2021-09-03 16:26:09 +09:30
ld-unique CC_FOR_TARGET et al 2021-09-03 16:26:09 +09:30
ld-v850
ld-vax-elf
ld-visium
ld-vxworks
ld-x86-64 CC_FOR_TARGET et al 2021-09-03 16:26:09 +09:30
ld-xc16x
ld-xstormy16
ld-xtensa
ld-z8k
ld-z80
lib CC_FOR_TARGET et al 2021-09-03 16:26:09 +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