aboutsummaryrefslogtreecommitdiff
path: root/test/ELF/as-needed.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/ELF/as-needed.s')
-rw-r--r--test/ELF/as-needed.s5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/ELF/as-needed.s b/test/ELF/as-needed.s
index 2c5174d54077..4f1a48abac36 100644
--- a/test/ELF/as-needed.s
+++ b/test/ELF/as-needed.s
@@ -20,11 +20,11 @@
/// GROUP directive is the same as --as-needed.
-// RUN: echo "GROUP(" %t2.so %t3.so %t4.so ")" > %t.script
+// RUN: echo "GROUP(\"%t2.so\" \"%t3.so\" \"%t4.so\")" > %t.script
// RUN: ld.lld %t.o %t.script -o %t2
// RUN: llvm-readobj -dynamic-table %t2 | FileCheck %s
-// RUN: echo "GROUP(AS_NEEDED(" %t2.so %t3.so %t4.so "))" > %t.script
+// RUN: echo "GROUP(AS_NEEDED(\"%t2.so\" \"%t3.so\" \"%t4.so\"))" > %t.script
// RUN: ld.lld %t.o %t.script -o %t2
// RUN: llvm-readobj -dynamic-table %t2 | FileCheck -check-prefix=CHECK2 %s
@@ -38,6 +38,7 @@
.global _start
_start:
+.data
.long bar
.long zed
.weak baz