summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ld/testsuite/ld-elf/linux-x86.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/testsuite/ld-elf/linux-x86.exp b/ld/testsuite/ld-elf/linux-x86.exp
index 0f0a6f01ec0..06379057ff2 100644
--- a/ld/testsuite/ld-elf/linux-x86.exp
+++ b/ld/testsuite/ld-elf/linux-x86.exp
@@ -136,7 +136,7 @@ run_cc_link_tests [list \
] \
[list \
"Build pr29377.o" \
- "-r -Wl,-z,noexecstack" \
+ "-r -nostdlib -Wl,-z,noexecstack" \
"" \
{pr29377a.c indirect-extern-access.S} \
{} \