diff options
-rw-r--r-- | lld/test/ELF/linkerscript/eh-frame-hdr.s | 2 | ||||
-rw-r--r-- | lld/test/ELF/linkerscript/eh-frame.s | 2 | ||||
-rw-r--r-- | lld/test/ELF/linkerscript/group.s | 2 | ||||
-rw-r--r-- | lld/test/ELF/linkerscript/searchdir.s | 4 | ||||
-rw-r--r-- | lld/test/ELF/linkerscript/symbol-ordering-file.s | 8 | ||||
-rw-r--r-- | lld/test/ELF/lto/data-ordering-lto.s | 2 | ||||
-rw-r--r-- | lld/test/ELF/lto/symbol-ordering-lto.s | 2 | ||||
-rw-r--r-- | lld/test/ELF/symbol-ordering-file.s | 2 |
8 files changed, 12 insertions, 12 deletions
diff --git a/lld/test/ELF/linkerscript/eh-frame-hdr.s b/lld/test/ELF/linkerscript/eh-frame-hdr.s index 974ee9bb0a0..a7892b2259e 100644 --- a/lld/test/ELF/linkerscript/eh-frame-hdr.s +++ b/lld/test/ELF/linkerscript/eh-frame-hdr.s @@ -1,7 +1,7 @@ # REQUIRES: x86 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t # RUN: echo "SECTIONS { .eh_frame_hdr : {} .eh_frame : {} }" > %t.script -# RUN: ld.lld -o /dev/null --eh-frame-hdr --script %t.script %t +# RUN: ld.lld -o %t1 --eh-frame-hdr --script %t.script %t # RUN: llvm-objdump -s -section=".eh_frame_hdr" %t1 | FileCheck %s # CHECK: 011b033b 14000000 01000000 4d000000 diff --git a/lld/test/ELF/linkerscript/eh-frame.s b/lld/test/ELF/linkerscript/eh-frame.s index a2c8bd389da..5e43ec738f7 100644 --- a/lld/test/ELF/linkerscript/eh-frame.s +++ b/lld/test/ELF/linkerscript/eh-frame.s @@ -1,7 +1,7 @@ # REQUIRES: x86 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t # RUN: echo "SECTIONS { .eh_frame : { *(.eh_frame) } }" > %t.script -# RUN: ld.lld -o /dev/null --script %t.script %t +# RUN: ld.lld -o %t1 --script %t.script %t # RUN: llvm-objdump -s -section=".eh_frame" %t1 | FileCheck %s # CHECK: 0000 14000000 00000000 017a5200 01781001 diff --git a/lld/test/ELF/linkerscript/group.s b/lld/test/ELF/linkerscript/group.s index bc9fc12402d..53a1c89ebfe 100644 --- a/lld/test/ELF/linkerscript/group.s +++ b/lld/test/ELF/linkerscript/group.s @@ -2,7 +2,7 @@ # RUN: mkdir -p %t.dir # RUN: rm -f %t.dir/libxyz.a -# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o /dev/null +# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux \ # RUN: %p/Inputs/libsearch-st.s -o %t2.o # RUN: llvm-ar rcs %t.dir/libxyz.a %t2.o diff --git a/lld/test/ELF/linkerscript/searchdir.s b/lld/test/ELF/linkerscript/searchdir.s index 7a921139745..9fc1a6a49a9 100644 --- a/lld/test/ELF/linkerscript/searchdir.s +++ b/lld/test/ELF/linkerscript/searchdir.s @@ -4,9 +4,9 @@ # 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 /dev/null +# RUN: ld.lld -shared %tdyn.o -o %t.dir/libls.so # RUN: echo "SEARCH_DIR(\"%t.dir\")" > %t.script -# RUN: ld.lld -o /dev/null --script %t.script -lls %t +# RUN: ld.lld -o %t2 --script %t.script -lls %t .globl _start,_bar _start: diff --git a/lld/test/ELF/linkerscript/symbol-ordering-file.s b/lld/test/ELF/linkerscript/symbol-ordering-file.s index ed0495513f9..dd5e0a152ae 100644 --- a/lld/test/ELF/linkerscript/symbol-ordering-file.s +++ b/lld/test/ELF/linkerscript/symbol-ordering-file.s @@ -2,24 +2,24 @@ # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o # RUN: echo "SECTIONS { .foo : { *(.foo) } }" > %t.script -# RUN: ld.lld %t.o --script %t.script -o /dev/null +# RUN: ld.lld %t.o --script %t.script -o %t.out # RUN: llvm-objdump -s %t.out| FileCheck %s --check-prefix=BEFORE # BEFORE: Contents of section .foo: # BEFORE-NEXT: 1122 # RUN: echo "_foo2" > %t.ord # RUN: echo "_foo1" >> %t.ord -# RUN: ld.lld --symbol-ordering-file %t.ord %t.o --script %t.script -o /dev/null +# RUN: ld.lld --symbol-ordering-file %t.ord %t.o --script %t.script -o %t2.out # RUN: llvm-objdump -s %t2.out| FileCheck %s --check-prefix=AFTER # AFTER: Contents of section .foo: # AFTER-NEXT: 2211 # RUN: echo "SECTIONS { .text : { *(.text) } }" > %t2.script -# RUN: ld.lld --symbol-ordering-file %t.ord %t.o --script %t2.script -o /dev/null +# RUN: ld.lld --symbol-ordering-file %t.ord %t.o --script %t2.script -o %t3.out # RUN: llvm-objdump -s %t3.out| FileCheck %s --check-prefix=AFTER # RUN: echo "SECTIONS { .foo : { BYTE(0x33); *(.foo); BYTE(0x44) } }" > %t3.script -# RUN: ld.lld --symbol-ordering-file %t.ord %t.o --script %t3.script -o /dev/null +# RUN: ld.lld --symbol-ordering-file %t.ord %t.o --script %t3.script -o %t4.out # RUN: llvm-objdump -s %t4.out| FileCheck %s --check-prefix=COMMANDS # COMMANDS: Contents of section .foo: # COMMANDS-NEXT: 33221144 diff --git a/lld/test/ELF/lto/data-ordering-lto.s b/lld/test/ELF/lto/data-ordering-lto.s index 9c422b7357f..bdacccc3540 100644 --- a/lld/test/ELF/lto/data-ordering-lto.s +++ b/lld/test/ELF/lto/data-ordering-lto.s @@ -7,7 +7,7 @@ # RUN: echo "dipsy " >> %t_order_lto.txt # RUN: echo "pat " >> %t_order_lto.txt -# RUN: ld.lld --symbol-ordering-file %t_order_lto.txt %t.o %t.bc -o /dev/null +# RUN: ld.lld --symbol-ordering-file %t_order_lto.txt %t.o %t.bc -o %t2.out # RUN: llvm-readelf -t %t2.out| FileCheck %s # Check that the order is tin -> dipsy -> pat. diff --git a/lld/test/ELF/lto/symbol-ordering-lto.s b/lld/test/ELF/lto/symbol-ordering-lto.s index 3164839cf81..530b63c669a 100644 --- a/lld/test/ELF/lto/symbol-ordering-lto.s +++ b/lld/test/ELF/lto/symbol-ordering-lto.s @@ -7,7 +7,7 @@ # RUN: echo "_start " >> %t_order_lto.txt # RUN: echo "pat " >> %t_order_lto.txt -# RUN: ld.lld --symbol-ordering-file %t_order_lto.txt %t.o %t.bc -o /dev/null +# RUN: ld.lld --symbol-ordering-file %t_order_lto.txt %t.o %t.bc -o %t2.out # RUN: llvm-readelf -t %t2.out| FileCheck %s # Check that the order is tin -> _start -> pat. diff --git a/lld/test/ELF/symbol-ordering-file.s b/lld/test/ELF/symbol-ordering-file.s index 7979b414809..34d67701933 100644 --- a/lld/test/ELF/symbol-ordering-file.s +++ b/lld/test/ELF/symbol-ordering-file.s @@ -1,6 +1,6 @@ # REQUIRES: x86 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o -# RUN: ld.lld %t.o -o /dev/null +# RUN: ld.lld %t.o -o %t.out # RUN: llvm-objdump -s %t.out| FileCheck %s --check-prefix=BEFORE # BEFORE: Contents of section .foo: |