summaryrefslogtreecommitdiff
path: root/lld
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2019-01-10 17:57:30 +0000
committerRui Ueyama <ruiu@google.com>2019-01-10 17:57:30 +0000
commite600fbc4266c0dd143e4926478c300bd51e3e9e6 (patch)
treec15f490c599c3587802b36ba3000085a4e9029b9 /lld
parente53a118b02bb3149dc55acd274fcf1218c9588b6 (diff)
Remove an external test file. NFC.
Diffstat (limited to 'lld')
-rw-r--r--lld/test/ELF/Inputs/msp430.s4
-rw-r--r--lld/test/ELF/msp430.s10
2 files changed, 5 insertions, 9 deletions
diff --git a/lld/test/ELF/Inputs/msp430.s b/lld/test/ELF/Inputs/msp430.s
deleted file mode 100644
index 79e707a5c28..00000000000
--- a/lld/test/ELF/Inputs/msp430.s
+++ /dev/null
@@ -1,4 +0,0 @@
- .text
- .global _start
-_start:
- nop
diff --git a/lld/test/ELF/msp430.s b/lld/test/ELF/msp430.s
index 83548fdf4ce..96820acbc3f 100644
--- a/lld/test/ELF/msp430.s
+++ b/lld/test/ELF/msp430.s
@@ -1,8 +1,8 @@
; REQUIRES: msp430
-; RUN: llvm-mc -filetype=obj -triple=msp430-elf %s -o %t
-; RUN: llvm-mc -filetype=obj -triple=msp430-elf %S/Inputs/msp430.s -o %t2
-; RUN: ld.lld --Tdata=0x2000 --Ttext=0x8000 --defsym=_byte=0x21 %t2 %t -o %t3
-; RUN: llvm-objdump -s -d %t3 | FileCheck %s
+; RUN: llvm-mc -filetype=obj -triple=msp430-elf -o %t1.o %s
+; RUN: echo -e '.global _start\n _start: nop' | llvm-mc -filetype=obj -triple=msp430-elf -o %t2.o -
+; RUN: ld.lld -o %t.exe --Tdata=0x2000 --Ttext=0x8000 --defsym=_byte=0x21 %t2.o %t1.o
+; RUN: llvm-objdump -s -d %t.exe | FileCheck %s
;; Check handling of basic msp430 relocation types.
@@ -39,5 +39,5 @@ foo:
; CHECK: Contents of section .data:
; CHECK-NEXT: 2000 21008000 800000
-; RUN: od -x %t3 | FileCheck -check-prefix=TRAP %s
+; RUN: od -x %t.exe | FileCheck -check-prefix=TRAP %s
; TRAP: 4343 4343 4343 4343 4343 4343 4343 4343