binutils-gdb/ld/testsuite/ld-elfvers
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
..
vers1.c PowerPC64 dot-sym testsuite fixes 2016-12-03 20:59:43 +10:30
vers1.dsym ld: elfvers tests: support symbol prefixed targets 2010-12-10 06:08:11 +00:00
vers1.map
vers1.sym PowerPC64 dot-sym testsuite fixes 2016-12-03 20:59:43 +10:30
vers1.ver
vers2.c
vers2.dsym elf: Treat undefined version as hidden 2021-08-04 05:07:42 -07:00
vers2.map
vers2.ver * ld-elfvers/vers2.ver: Don't assume any particular index for 2011-06-16 00:42:06 +00:00
vers3.c
vers3.dsym elf: Treat undefined version as hidden 2021-08-04 05:07:42 -07:00
vers3.ver * ld-elfvers/vers2.ver: Don't assume any particular index for 2011-06-16 00:42:06 +00:00
vers4.c PowerPC64 dot-sym testsuite fixes 2016-12-03 20:59:43 +10:30
vers4.sym PowerPC64 dot-sym testsuite fixes 2016-12-03 20:59:43 +10:30
vers4a.dsym ld: elfvers tests: support symbol prefixed targets 2010-12-10 06:08:11 +00:00
vers4a.sym PowerPC64 dot-sym testsuite fixes 2016-12-03 20:59:43 +10:30
vers4a.ver
vers5.c PowerPC64 dot-sym testsuite fixes 2016-12-03 20:59:43 +10:30
vers6.c PowerPC64 dot-sym testsuite fixes 2016-12-03 20:59:43 +10:30
vers6.dsym elf: Treat undefined version as hidden 2021-08-04 05:07:42 -07:00
vers6.sym PowerPC64 dot-sym testsuite fixes 2016-12-03 20:59:43 +10:30
vers6.ver
vers7.c
vers7.map
vers7a.c PowerPC64 dot-sym testsuite fixes 2016-12-03 20:59:43 +10:30
vers7a.dsym ld: elfvers tests: support symbol prefixed targets 2010-12-10 06:08:11 +00:00
vers7a.sym PowerPC64 dot-sym testsuite fixes 2016-12-03 20:59:43 +10:30
vers7a.ver
vers8.c
vers8.map
vers8.ver
vers9.c PowerPC64 dot-sym testsuite fixes 2016-12-03 20:59:43 +10:30
vers9.dsym ld: elfvers tests: support symbol prefixed targets 2010-12-10 06:08:11 +00:00
vers9.sym PowerPC64 dot-sym testsuite fixes 2016-12-03 20:59:43 +10:30
vers9.ver
vers13.asym
vers15.c PowerPC64 dot-sym testsuite fixes 2016-12-03 20:59:43 +10:30
vers15.dsym ld: elfvers tests: support symbol prefixed targets 2010-12-10 06:08:11 +00:00
vers15.sym PowerPC64 dot-sym testsuite fixes 2016-12-03 20:59:43 +10:30
vers15.ver
vers16.c
vers16.dsym PR26002 undefined symbol VER_NDX_GLOBAL vs. VER_NDX_LOCAL 2021-01-16 11:11:51 +10:30
vers16.map
vers16a.c
vers16a.dsym ld: elfvers tests: support symbol prefixed targets 2010-12-10 06:08:11 +00:00
vers16a.ver
vers17.c
vers17.dsym ld: elfvers tests: support symbol prefixed targets 2010-12-10 06:08:11 +00:00
vers17.map
vers17.ver
vers18.c PowerPC64 dot-sym testsuite fixes 2016-12-03 20:59:43 +10:30
vers18.dsym ld: elfvers tests: support symbol prefixed targets 2010-12-10 06:08:11 +00:00
vers18.map
vers18.sym PowerPC64 dot-sym testsuite fixes 2016-12-03 20:59:43 +10:30
vers18.ver
vers19.c
vers19.dsym elf: Treat undefined version as hidden 2021-08-04 05:07:42 -07:00
vers19.ver * ld-elfvers/vers2.ver: Don't assume any particular index for 2011-06-16 00:42:06 +00:00
vers20.c
vers20.dsym ld: elfvers tests: support symbol prefixed targets 2010-12-10 06:08:11 +00:00
vers20.map
vers20.ver
vers20a.ver
vers21.c PowerPC64 dot-sym testsuite fixes 2016-12-03 20:59:43 +10:30
vers21.dsym ld: elfvers tests: support symbol prefixed targets 2010-12-10 06:08:11 +00:00
vers21.map
vers21.sym PowerPC64 dot-sym testsuite fixes 2016-12-03 20:59:43 +10:30
vers21.ver
vers22.c
vers22.dsym elf: Treat undefined version as hidden 2021-08-04 05:07:42 -07:00
vers22.map
vers22.ver * ld-elfvers/vers2.ver: Don't assume any particular index for 2011-06-16 00:42:06 +00:00
vers22a.c PowerPC64 dot-sym testsuite fixes 2016-12-03 20:59:43 +10:30
vers22a.dsym ld: elfvers tests: support symbol prefixed targets 2010-12-10 06:08:11 +00:00
vers22a.sym PowerPC64 dot-sym testsuite fixes 2016-12-03 20:59:43 +10:30
vers22a.ver
vers22b.c
vers22b.dsym ld: elfvers tests: support symbol prefixed targets 2010-12-10 06:08:11 +00:00
vers22b.ver
vers23.c
vers23.dsym elf: Treat undefined version as hidden 2021-08-04 05:07:42 -07:00
vers23.ver
vers23a.c PowerPC64 dot-sym testsuite fixes 2016-12-03 20:59:43 +10:30
vers23a.dsym ld: elfvers tests: support symbol prefixed targets 2010-12-10 06:08:11 +00:00
vers23a.map
vers23a.sym PowerPC64 dot-sym testsuite fixes 2016-12-03 20:59:43 +10:30
vers23a.ver
vers23b.c
vers23b.dsym ld: elfvers tests: support symbol prefixed targets 2010-12-10 06:08:11 +00:00
vers23b.map
vers23b.ver
vers23c.ver
vers23d.dsym elf: Treat undefined version as hidden 2021-08-04 05:07:42 -07:00
vers24.map
vers24.rd Display symbol version when dumping dynrelocs 2014-11-25 06:47:44 -08:00
vers24a.c ld: elfvers tests: support symbol prefixed targets 2010-12-10 06:08:11 +00:00
vers24b.c
vers24c.c ld: elfvers tests: support symbol prefixed targets 2010-12-10 06:08:11 +00:00
vers25a.c
vers25a.dsym * ld-elfvers/vers25a.dsym: Really include _? in match. 2010-12-11 12:58:36 +00:00
vers25a.map
vers25a.ver
vers25b.c
vers25b.dsym
vers25b.ver
vers26a.c
vers26a.dsym ld: elfvers tests: support symbol prefixed targets 2010-12-10 06:08:11 +00:00
vers26a.map
vers26a.ver
vers26b.c
vers26b.dsym
vers26b.ver
vers27a.c
vers27a.dsym ld: elfvers tests: support symbol prefixed targets 2010-12-10 06:08:11 +00:00
vers27a.map
vers27a.ver
vers27b.c Re: Use __asm__ rather than asm in ld testsuite 2020-06-16 22:44:13 +09:30
vers27b.dsym
vers27b.ver
vers27c.c
vers27c.dsym
vers27c.ver
vers27d1.c PowerPC64 dot-sym testsuite fixes 2016-12-03 20:59:43 +10:30
vers27d2.c
vers27d3.c
vers27d4.dsym elf: Treat undefined version as hidden 2021-08-04 05:07:42 -07:00
vers27d4.ver * ld-elfvers/vers2.ver: Don't assume any particular index for 2011-06-16 00:42:06 +00:00
vers27d.dsym ld: elfvers tests: support symbol prefixed targets 2010-12-10 06:08:11 +00:00
vers27d.sym PowerPC64 dot-sym testsuite fixes 2016-12-03 20:59:43 +10:30
vers27d.ver
vers28a.c
vers28a.dsym
vers28a.ver
vers28b.c
vers28b.dsym ld: elfvers tests: support symbol prefixed targets 2010-12-10 06:08:11 +00:00
vers28b.map
vers28b.ver
vers28c.c
vers28c.dsym elf: Treat undefined version as hidden 2021-08-04 05:07:42 -07:00
vers28c.ver * ld-elfvers/vers2.ver: Don't assume any particular index for 2011-06-16 00:42:06 +00:00
vers29.c
vers29.dsym ld: elfvers tests: support symbol prefixed targets 2010-12-10 06:08:11 +00:00
vers29.ver
vers30.c
vers30.dsym ld testsuite fixes for alpha 2020-06-19 10:01:09 +09:30
vers30.map
vers30.ver
vers31.c
vers31.dsym ld testsuite fixes for alpha 2020-06-19 10:01:09 +09:30
vers31.map
vers31.ver
vers32.map
vers32a.c
vers32a.dsym ld: elfvers tests: support symbol prefixed targets 2010-12-10 06:08:11 +00:00
vers32a.ver
vers32b.c
vers32b.dsym ld: elfvers tests: support symbol prefixed targets 2010-12-10 06:08:11 +00:00
vers32b.ver
vers.exp ld testsuite tidy 2021-09-03 16:26:21 +09:30
vers.h PowerPC64 dot-sym testsuite fixes 2016-12-03 20:59:43 +10:30