ld: Pass -fno-sanitize=all to tests with linker
[deliverable/binutils-gdb.git] / ld / testsuite / ld-elf / tls.exp
index 380d6505a8438e8bec8457874df8378fb9b4a72b..352d7ecca23f0aefe943cbfd306acc4e4a82b774 100644 (file)
@@ -39,6 +39,8 @@ if [istarget "sparc*-*-*"] {
     append AFLAGS_PIC " -K PIC"
 }
 
+global NOSANTIZE_CFLAGS
+
 run_ld_link_tests [list \
     [list \
        "Build pr22263-1" \
@@ -48,6 +50,6 @@ run_ld_link_tests [list \
        { pr22263-1a.c pr22263-1b.c } \
        {{readelf -r pr22263-1.rd}} \
        "pr22263-1" \
-       "-fPIE -O2" \
+       "-fPIE -O2 $NOSANTIZE_CFLAGS" \
     ] \
 ]
This page took 0.025865 seconds and 4 git commands to generate.