aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ld/testsuite/ld-x86-64/x86-64.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/testsuite/ld-x86-64/x86-64.exp b/ld/testsuite/ld-x86-64/x86-64.exp
index a1a0422..e370f39 100644
--- a/ld/testsuite/ld-x86-64/x86-64.exp
+++ b/ld/testsuite/ld-x86-64/x86-64.exp
@@ -2263,7 +2263,7 @@ if { [check_compiler_available] } {
run_cc_link_tests [list \
[list \
"Build mark-plt-1.so" \
- "-shared -Wl,-z,mark-plt,-z,pack-relative-relocs" \
+ "-shared -Wl,--no-as-needed,-z,mark-plt,-z,pack-relative-relocs" \
"-fPIC" \
{ mark-plt-1.s } \
{{readelf {-W --version-info} mark-plt-1a.rd} \