summaryrefslogtreecommitdiffstats
path: root/lld/test/ELF/linkerscript/linkerscript2.s
diff options
context:
space:
mode:
Diffstat (limited to 'lld/test/ELF/linkerscript/linkerscript2.s')
-rw-r--r--lld/test/ELF/linkerscript/linkerscript2.s17
1 files changed, 17 insertions, 0 deletions
diff --git a/lld/test/ELF/linkerscript/linkerscript2.s b/lld/test/ELF/linkerscript/linkerscript2.s
new file mode 100644
index 00000000000..6ecd9e7ea97
--- /dev/null
+++ b/lld/test/ELF/linkerscript/linkerscript2.s
@@ -0,0 +1,17 @@
+# There is some bad quoting interaction between lit's internal shell, which is
+# implemented in Python, and the Cygwin implementations of the Unix utilities.
+# Avoid running these tests on Windows for now by requiring a real shell.
+
+# REQUIRES: shell
+
+# REQUIRES: x86
+# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-freebsd %s -o %t
+# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-freebsd \
+# RUN: %p/Inputs/libsearch-dyn.s -o %tdyn.o
+# RUN: mkdir -p %t.dir
+# RUN: ld.lld -shared %tdyn.o -o %t.dir/libls.so
+# RUN: echo "SEARCH_DIR(\"%t.dir\")" > %t.script
+# RUN: ld.lld -o %t2 --script %t.script -lls %t
+
+.globl _start,_bar
+_start:
OpenPOWER on IntegriCloud