diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2020-09-03 17:17:19 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2020-09-03 17:17:19 -0700 |
commit | e062fcc8c2bf4c36386dce68ba7f1d408f22dedc (patch) | |
tree | f78bddda5ddfcb7366f38eb8a1238b61758f01d2 /ld/testsuite/config | |
parent | cdafde0beb436ef4f96f0afcca9f17a58a1e208f (diff) | |
download | gdb-e062fcc8c2bf4c36386dce68ba7f1d408f22dedc.zip gdb-e062fcc8c2bf4c36386dce68ba7f1d408f22dedc.tar.gz gdb-e062fcc8c2bf4c36386dce68ba7f1d408f22dedc.tar.bz2 |
ld: Change NOSANTIZE_CFLAGS to NOSANITIZE_CFLAGS
* testsuite/config/default.exp: Change NOSANTIZE_CFLAGS to
NOSANITIZE_CFLAGS.
* testsuite/ld-elf/dwarf.exp: Likewise.
* testsuite/ld-elf/indirect.exp: Likewise.
* testsuite/ld-elf/linux-x86.exp: Likewise.
* testsuite/ld-elf/shared.exp: Likewise.
* testsuite/ld-elf/tls.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-gc/gc.exp: Likewise.
* testsuite/ld-plugin/lto.exp: Likewise.
* testsuite/ld-plugin/plugin.exp: Likewise.
* testsuite/ld-scripts/crossref.exp: Likewise.
* testsuite/ld-selective/selective.exp: Likewise.
* testsuite/ld-shared/shared.exp: Likewise.
* testsuite/ld-size/size.exp: Likewise.
* testsuite/ld-srec/srec.exp: Likewise.
* testsuite/ld-x86-64/x86-64.exp: Likewise.
Diffstat (limited to 'ld/testsuite/config')
-rw-r--r-- | ld/testsuite/config/default.exp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ld/testsuite/config/default.exp b/ld/testsuite/config/default.exp index 9e89ca1..58ca4a2 100644 --- a/ld/testsuite/config/default.exp +++ b/ld/testsuite/config/default.exp @@ -576,10 +576,10 @@ if { ![info exists STATIC_PIE_LDFLAGS] } then { } } -# Set NOSANTIZE_CFLAGS to "-fno-sanitize=all" if target compiler +# Set NOSANITIZE_CFLAGS to "-fno-sanitize=all" if target compiler # supports it. -if { ![info exists NOSANTIZE_CFLAGS] } then { +if { ![info exists NOSANITIZE_CFLAGS] } then { if { [check_compiler_available] } { # Check if gcc supports -fno-sanitize=all. set flags "" @@ -605,11 +605,11 @@ if { ![info exists NOSANTIZE_CFLAGS] } then { file delete $src if { $available == 1 } then { - set NOSANTIZE_CFLAGS "-fno-sanitize=all" + set NOSANITIZE_CFLAGS "-fno-sanitize=all" } else { - set NOSANTIZE_CFLAGS "" + set NOSANITIZE_CFLAGS "" } } else { - set NOSANTIZE_CFLAGS "" + set NOSANITIZE_CFLAGS "" } } |