binutils-gdb/ld/testsuite
H.J. Lu 05fd99cc80 ld: Add $NOSANTIZE_CFLAGS to more linker tests
-fsanitize= can be used to build binutils with

$ CC="gcc -fsanitize=address,undefined" CXX="g++ -fsanitize=address,undefined" .../configure --disable-werror

Since not all linker tests are compatible with -fsanitize=, pass
$NOSANTIZE_CFLAGS to disable -fsanitize= for such tests.

	* testsuite/ld-elf/indirect.exp: Append $NOSANTIZE_CFLAGS to CC.
	* testsuite/ld-elf/shared.exp: Likewise.
	* testsuite/ld-elfcomm/elfcomm.exp: Likewise.
	* testsuite/ld-elfvers/vers.exp: Likewise.
	* testsuite/ld-elfvsb/elfvsb.exp: Likewise.
	* testsuite/ld-elfweak/elfweak.exp: Likewise.
	* testsuite/ld-plugin/lto.exp: Likewise.
	* testsuite/ld-plugin/plugin.exp: Likewise.
	* testsuite/ld-scripts/crossref.exp: Likewise.
2020-08-26 11:57:35 -07:00
..
config
ld-aarch64
ld-alpha
ld-arc
ld-arm AArch64: Relax thumb-plt testcases regexpr. 2020-08-14 07:52:00 +01:00
ld-auto-import
ld-avr
ld-bootstrap
ld-bpf bpf: add missing tests from previous commits 2020-08-07 20:40:01 +02:00
ld-cdtest
ld-checks Use is_xcoff_format in ld testsuite 2020-07-07 18:26:34 +09:30
ld-cris
ld-crx
ld-csky
ld-ctf ld, testsuite: do not run CTF tests at all on non-ELF for now 2020-07-22 18:05:32 +01:00
ld-cygwin
ld-d10v
ld-discard
ld-dynamic
ld-elf ld: Add $NOSANTIZE_CFLAGS to more linker tests 2020-08-26 11:57:35 -07:00
ld-elfcomm ld: Add $NOSANTIZE_CFLAGS to more linker tests 2020-08-26 11:57:35 -07:00
ld-elfvers ld: Add $NOSANTIZE_CFLAGS to more linker tests 2020-08-26 11:57:35 -07:00
ld-elfvsb ld: Add $NOSANTIZE_CFLAGS to more linker tests 2020-08-26 11:57:35 -07:00
ld-elfweak ld: Add $NOSANTIZE_CFLAGS to more linker tests 2020-08-26 11:57:35 -07:00
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 ld: Add -fno-lto to linker tests 2020-07-31 07:57:04 -07:00
ld-libs tic54x ld testsuite 2020-08-25 19:31:57 +09:30
ld-linkonce
ld-m68hc11
ld-m68k
ld-mep
ld-metag
ld-mips-elf MIPS: Make the IRIX naming of local section symbols consistent 2020-07-29 20:56:41 +01:00
ld-misc More just-syms changes 2020-07-28 13:09:20 +09:30
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: Add $NOSANTIZE_CFLAGS to more linker tests 2020-08-26 11:57:35 -07:00
ld-powerpc PowerPC TPREL_HA/LO optimisation 2020-08-24 21:15:06 +09:30
ld-pru
ld-riscv-elf
ld-s12z
ld-s390
ld-scripts ld: Add $NOSANTIZE_CFLAGS to more linker tests 2020-08-26 11:57:35 -07:00
ld-selective
ld-sh sh vxworks tests 2020-07-07 18:26:33 +09:30
ld-shared
ld-size
ld-sparc sparc testsuite fallout 2020-08-24 21:48:16 +09:30
ld-spu
ld-srec Use is_xcoff_format in ld testsuite 2020-07-07 18:26:34 +09:30
ld-tic6x
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 ld: Add -fno-lto to linker tests 2020-07-31 07:57:04 -07: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