[lld] r193911 - [ELF] One more file for missing -target option.
Rui Ueyama
ruiu at google.com
Fri Nov 1 20:55:52 PDT 2013
Author: ruiu
Date: Fri Nov 1 22:55:51 2013
New Revision: 193911
URL: http://llvm.org/viewvc/llvm-project?rev=193911&view=rev
Log:
[ELF] One more file for missing -target option.
Modified:
lld/trunk/test/elf/options/dynamic-linker.test
Modified: lld/trunk/test/elf/options/dynamic-linker.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf/options/dynamic-linker.test?rev=193911&r1=193910&r2=193911&view=diff
==============================================================================
--- lld/trunk/test/elf/options/dynamic-linker.test (original)
+++ lld/trunk/test/elf/options/dynamic-linker.test Fri Nov 1 22:55:51 2013
@@ -1,10 +1,13 @@
# This tests the functionality of specifying dynamic-linker argument in the
# command line
-RUN: lld -flavor gnu --dynamic-linker="/xyz.so" %p/../Inputs/foo.o.x86-64 --noinhibit-exec -o %t
+RUN: lld -flavor gnu -target x86_64 --dynamic-linker="/xyz.so" \
+RUN: %p/../Inputs/foo.o.x86-64 --noinhibit-exec -o %t
RUN: llvm-objdump -s %t | FileCheck -check-prefix=DYNAMICINTERP1 %s
-RUN: lld -flavor gnu --dynamic-linker="" %p/../Inputs/foo.o.x86-64 --noinhibit-exec -o %t1
+RUN: lld -flavor gnu -target x86_64 --dynamic-linker="" \
+RUN: %p/../Inputs/foo.o.x86-64 --noinhibit-exec -o %t1
RUN: llvm-objdump -s %t1 | FileCheck -check-prefix=DYNAMICINTERP2 %s
-RUN: lld -flavor gnu -dynamic-linker /xyz.so %p/../Inputs/foo.o.x86-64 --noinhibit-exec -o %t2
+RUN: lld -flavor gnu -target x86_64 -dynamic-linker /xyz.so \
+RUN: %p/../Inputs/foo.o.x86-64 --noinhibit-exec -o %t2
RUN: llvm-objdump -s %t2 | FileCheck -check-prefix=DYNAMICINTERP1 %s
DYNAMICINTERP1:Contents of section .interp:
More information about the llvm-commits
mailing list