summaryrefslogtreecommitdiffstats
path: root/lld/test/ELF/version-script.s
diff options
context:
space:
mode:
Diffstat (limited to 'lld/test/ELF/version-script.s')
-rw-r--r--lld/test/ELF/version-script.s4
1 files changed, 2 insertions, 2 deletions
diff --git a/lld/test/ELF/version-script.s b/lld/test/ELF/version-script.s
index 72f9eeb944d..66e850620c0 100644
--- a/lld/test/ELF/version-script.s
+++ b/lld/test/ELF/version-script.s
@@ -142,12 +142,12 @@
# VERDSO-NEXT: ]
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
-# RUN: ld.lld -shared %t.o %t2.so -o %t.so
+# RUN: ld.lld --hash-style=sysv -shared %t.o %t2.so -o %t.so
# RUN: llvm-readobj -dyn-symbols %t.so | FileCheck --check-prefix=ALL %s
# RUN: echo "{ global: foo1; foo3; };" > %t2.script
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t.o
-# RUN: ld.lld --version-script %t2.script -shared %t.o %t2.so -o %t.so
+# RUN: ld.lld --hash-style=sysv --version-script %t2.script -shared %t.o %t2.so -o %t.so
# RUN: llvm-readobj -dyn-symbols %t.so | FileCheck --check-prefix=ALL %s
# ALL: DynamicSymbols [
OpenPOWER on IntegriCloud