[lld] r350855 - Remove an external test file. NFC.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 10 09:57:31 PST 2019
Author: ruiu
Date: Thu Jan 10 09:57:30 2019
New Revision: 350855
URL: http://llvm.org/viewvc/llvm-project?rev=350855&view=rev
Log:
Remove an external test file. NFC.
Removed:
lld/trunk/test/ELF/Inputs/msp430.s
Modified:
lld/trunk/test/ELF/msp430.s
Removed: lld/trunk/test/ELF/Inputs/msp430.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/Inputs/msp430.s?rev=350854&view=auto
==============================================================================
--- lld/trunk/test/ELF/Inputs/msp430.s (original)
+++ lld/trunk/test/ELF/Inputs/msp430.s (removed)
@@ -1,4 +0,0 @@
- .text
- .global _start
-_start:
- nop
Modified: lld/trunk/test/ELF/msp430.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/msp430.s?rev=350855&r1=350854&r2=350855&view=diff
==============================================================================
--- lld/trunk/test/ELF/msp430.s (original)
+++ lld/trunk/test/ELF/msp430.s Thu Jan 10 09:57:30 2019
@@ -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
More information about the llvm-commits
mailing list