aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf/tls.exp
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-elf/tls.exp')
-rw-r--r--ld/testsuite/ld-elf/tls.exp4
1 files changed, 3 insertions, 1 deletions
diff --git a/ld/testsuite/ld-elf/tls.exp b/ld/testsuite/ld-elf/tls.exp
index 380d650..352d7ec 100644
--- a/ld/testsuite/ld-elf/tls.exp
+++ b/ld/testsuite/ld-elf/tls.exp
@@ -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" \
] \
]