binutils-gdb/ld/testsuite/ld-gc
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
..
abi-note.d ld-gc tests on underscore targets 2021-03-03 17:46:36 +10:30
abi-note.s
all-debug-sections.d
all-debug-sections.s
dummy.s
gc.c
gc.exp ld testsuite tidy 2021-09-03 16:26:21 +09:30
libpersonality.s
noent.d PR26265, Spurious 'gc-sections requires ... when --init or --fini 2020-07-20 22:21:11 +09:30
noent.s
personality.d
personality.s
pr11218-1.c
pr11218-2.c
pr11218.d
pr13683.c
pr13683.d PE image base fallout 2021-03-12 10:41:34 +10:30
pr14265.c
pr14265.d PE image base fallout 2021-03-12 10:41:34 +10:30
pr14265.t
pr18223.d
pr18223.s
pr19161-1.c
pr19161-2.c
pr19161.d
pr19167.d ld-gc tests on underscore targets 2021-03-03 17:46:36 +10:30
pr19167a.s ld-gc tests on underscore targets 2021-03-03 17:46:36 +10:30
pr19167b.s
pr20022.d
pr20022a.s
pr20022b.s
pr20306.c
pr20306.d
pr20882.d
pr20882a.s
pr20882b.s
pr20882c.s
skip-map-discarded.d
skip-map-discarded.map
skip-map-discarded.s
start2.d ld-gc tests on underscore targets 2021-03-03 17:46:36 +10:30
start2.s ld-gc tests on underscore targets 2021-03-03 17:46:36 +10:30
start3.d --gc-sections with groups and start/stop syms 2021-03-03 17:46:36 +10:30
start3.s --gc-sections with groups and start/stop syms 2021-03-03 17:46:36 +10:30
start4.d --gc-sections with groups and start/stop syms 2021-03-03 17:46:36 +10:30
start4.s --gc-sections with groups and start/stop syms 2021-03-03 17:46:36 +10:30
start.d ld-gc tests on underscore targets 2021-03-03 17:46:36 +10:30
start.s ld-gc tests on underscore targets 2021-03-03 17:46:36 +10:30
stop.d ld-gc tests on underscore targets 2021-03-03 17:46:36 +10:30
stop.s