aboutsummaryrefslogtreecommitdiff
path: root/test/ELF/progname.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/ELF/progname.s')
-rw-r--r--test/ELF/progname.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ELF/progname.s b/test/ELF/progname.s
index be8ab9e31c4f..ecd0fd872347 100644
--- a/test/ELF/progname.s
+++ b/test/ELF/progname.s
@@ -1,6 +1,6 @@
// REQUIRES: x86
// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o
-// RUN: echo .global __progname > %t2.s
+// RUN: echo ".global __progname; .data; .dc.a __progname" > %t2.s
// RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %t2.s -o %t2.o
// RUN: ld.lld -shared %t2.o -o %t2.so
// RUN: ld.lld -o %t %t.o %t2.so