[ELF] One more file for missing -target option.

llvm-svn: 193911
This commit is contained in:
Rui Ueyama 2013-11-02 03:55:51 +00:00
parent 2ccdfb219d
commit 329211bbb7
1 changed files with 6 additions and 3 deletions

View File

@ -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: