aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite')
-rw-r--r--ld/testsuite/ld-x86-64/x86-64.exp3
1 files changed, 2 insertions, 1 deletions
diff --git a/ld/testsuite/ld-x86-64/x86-64.exp b/ld/testsuite/ld-x86-64/x86-64.exp
index 5dc9a1c..21a4824 100644
--- a/ld/testsuite/ld-x86-64/x86-64.exp
+++ b/ld/testsuite/ld-x86-64/x86-64.exp
@@ -1740,11 +1740,12 @@ if { [isnative] && [check_compiler_available] } {
] \
[list \
"Run protected-func-1 without PIE" \
- "-Wl,--no-as-needed tmpdir/libprotected-func-1.so" \
+ "$NOPIE_LDFLAGS -Wl,--no-as-needed tmpdir/libprotected-func-1.so" \
"-Wa,-mx86-used-note=yes" \
{ protected-func-1b.c } \
"protected-func-1a" \
"pass.out" \
+ "$NOPIE_CFLAGS" \
] \
[list \
"Run protected-func-1 with PIE" \