[arm] Pass -triple to llvm-mc for ARM ELF test cases.

Replace -arch with -triple so that we can guarantee that
ELF object files can be generated.

llvm-svn: 197062
This commit is contained in:
Logan Chien 2013-12-11 19:38:10 +00:00
parent c66a611b27
commit c4cb5d900e
22 changed files with 44 additions and 44 deletions

View File

@ -3,9 +3,9 @@
@ This test case will check the default .ARM.attributes value for the
@ armv2 architecture.
@ RUN: llvm-mc < %s -arch=arm -filetype=asm \
@ RUN: llvm-mc < %s -triple=arm-linux-gnueabi -filetype=asm \
@ RUN: | FileCheck %s --check-prefix=CHECK-ASM
@ RUN: llvm-mc < %s -arch=arm -filetype=obj \
@ RUN: llvm-mc < %s -triple=arm-linux-gnueabi -filetype=obj \
@ RUN: | llvm-readobj -s -sd | FileCheck %s --check-prefix=CHECK-OBJ
.syntax unified

View File

@ -3,9 +3,9 @@
@ This test case will check the default .ARM.attributes value for the
@ armv2a architecture.
@ RUN: llvm-mc < %s -arch=arm -filetype=asm \
@ RUN: llvm-mc < %s -triple=arm-linux-gnueabi -filetype=asm \
@ RUN: | FileCheck %s --check-prefix=CHECK-ASM
@ RUN: llvm-mc < %s -arch=arm -filetype=obj \
@ RUN: llvm-mc < %s -triple=arm-linux-gnueabi -filetype=obj \
@ RUN: | llvm-readobj -s -sd | FileCheck %s --check-prefix=CHECK-OBJ
.syntax unified

View File

@ -3,9 +3,9 @@
@ This test case will check the default .ARM.attributes value for the
@ armv3 architecture.
@ RUN: llvm-mc < %s -arch=arm -filetype=asm \
@ RUN: llvm-mc < %s -triple=arm-linux-gnueabi -filetype=asm \
@ RUN: | FileCheck %s --check-prefix=CHECK-ASM
@ RUN: llvm-mc < %s -arch=arm -filetype=obj \
@ RUN: llvm-mc < %s -triple=arm-linux-gnueabi -filetype=obj \
@ RUN: | llvm-readobj -s -sd | FileCheck %s --check-prefix=CHECK-OBJ
.syntax unified

View File

@ -3,9 +3,9 @@
@ This test case will check the default .ARM.attributes value for the
@ armv3m architecture.
@ RUN: llvm-mc < %s -arch=arm -filetype=asm \
@ RUN: llvm-mc < %s -triple=arm-linux-gnueabi -filetype=asm \
@ RUN: | FileCheck %s --check-prefix=CHECK-ASM
@ RUN: llvm-mc < %s -arch=arm -filetype=obj \
@ RUN: llvm-mc < %s -triple=arm-linux-gnueabi -filetype=obj \
@ RUN: | llvm-readobj -s -sd | FileCheck %s --check-prefix=CHECK-OBJ
.syntax unified

View File

@ -3,9 +3,9 @@
@ This test case will check the default .ARM.attributes value for the
@ armv4 architecture.
@ RUN: llvm-mc < %s -arch=arm -filetype=asm \
@ RUN: llvm-mc < %s -triple=arm-linux-gnueabi -filetype=asm \
@ RUN: | FileCheck %s --check-prefix=CHECK-ASM
@ RUN: llvm-mc < %s -arch=arm -filetype=obj \
@ RUN: llvm-mc < %s -triple=arm-linux-gnueabi -filetype=obj \
@ RUN: | llvm-readobj -s -sd | FileCheck %s --check-prefix=CHECK-OBJ
.syntax unified

View File

@ -3,9 +3,9 @@
@ This test case will check the default .ARM.attributes value for the
@ armv4t architecture.
@ RUN: llvm-mc < %s -arch=arm -filetype=asm \
@ RUN: llvm-mc < %s -triple=arm-linux-gnueabi -filetype=asm \
@ RUN: | FileCheck %s --check-prefix=CHECK-ASM
@ RUN: llvm-mc < %s -arch=arm -filetype=obj \
@ RUN: llvm-mc < %s -triple=arm-linux-gnueabi -filetype=obj \
@ RUN: | llvm-readobj -s -sd | FileCheck %s --check-prefix=CHECK-OBJ
.syntax unified

View File

@ -3,9 +3,9 @@
@ This test case will check the default .ARM.attributes value for the
@ armv5 architecture.
@ RUN: llvm-mc < %s -arch=arm -filetype=asm \
@ RUN: llvm-mc < %s -triple=arm-linux-gnueabi -filetype=asm \
@ RUN: | FileCheck %s --check-prefix=CHECK-ASM
@ RUN: llvm-mc < %s -arch=arm -filetype=obj \
@ RUN: llvm-mc < %s -triple=arm-linux-gnueabi -filetype=obj \
@ RUN: | llvm-readobj -s -sd | FileCheck %s --check-prefix=CHECK-OBJ
.syntax unified

View File

@ -3,9 +3,9 @@
@ This test case will check the default .ARM.attributes value for the
@ armv5t architecture.
@ RUN: llvm-mc < %s -arch=arm -filetype=asm \
@ RUN: llvm-mc < %s -triple=arm-linux-gnueabi -filetype=asm \
@ RUN: | FileCheck %s --check-prefix=CHECK-ASM
@ RUN: llvm-mc < %s -arch=arm -filetype=obj \
@ RUN: llvm-mc < %s -triple=arm-linux-gnueabi -filetype=obj \
@ RUN: | llvm-readobj -s -sd | FileCheck %s --check-prefix=CHECK-OBJ
.syntax unified

View File

@ -3,9 +3,9 @@
@ This test case will check the default .ARM.attributes value for the
@ armv5te architecture.
@ RUN: llvm-mc < %s -arch=arm -filetype=asm \
@ RUN: llvm-mc < %s -triple=arm-linux-gnueabi -filetype=asm \
@ RUN: | FileCheck %s --check-prefix=CHECK-ASM
@ RUN: llvm-mc < %s -arch=arm -filetype=obj \
@ RUN: llvm-mc < %s -triple=arm-linux-gnueabi -filetype=obj \
@ RUN: | llvm-readobj -s -sd | FileCheck %s --check-prefix=CHECK-OBJ
.syntax unified

View File

@ -3,9 +3,9 @@
@ This test case will check the default .ARM.attributes value for the
@ armv6-m architecture.
@ RUN: llvm-mc < %s -arch=arm -filetype=asm \
@ RUN: llvm-mc < %s -triple=arm-linux-gnueabi -filetype=asm \
@ RUN: | FileCheck %s --check-prefix=CHECK-ASM
@ RUN: llvm-mc < %s -arch=arm -filetype=obj \
@ RUN: llvm-mc < %s -triple=arm-linux-gnueabi -filetype=obj \
@ RUN: | llvm-readobj -s -sd | FileCheck %s --check-prefix=CHECK-OBJ
.syntax unified

View File

@ -3,9 +3,9 @@
@ This test case will check the default .ARM.attributes value for the
@ armv6 architecture.
@ RUN: llvm-mc < %s -arch=arm -filetype=asm \
@ RUN: llvm-mc < %s -triple=arm-linux-gnueabi -filetype=asm \
@ RUN: | FileCheck %s --check-prefix=CHECK-ASM
@ RUN: llvm-mc < %s -arch=arm -filetype=obj \
@ RUN: llvm-mc < %s -triple=arm-linux-gnueabi -filetype=obj \
@ RUN: | llvm-readobj -s -sd | FileCheck %s --check-prefix=CHECK-OBJ
.syntax unified

View File

@ -3,9 +3,9 @@
@ This test case will check the default .ARM.attributes value for the
@ armv6j architecture.
@ RUN: llvm-mc < %s -arch=arm -filetype=asm \
@ RUN: llvm-mc < %s -triple=arm-linux-gnueabi -filetype=asm \
@ RUN: | FileCheck %s --check-prefix=CHECK-ASM
@ RUN: llvm-mc < %s -arch=arm -filetype=obj \
@ RUN: llvm-mc < %s -triple=arm-linux-gnueabi -filetype=obj \
@ RUN: | llvm-readobj -s -sd | FileCheck %s --check-prefix=CHECK-OBJ
.syntax unified

View File

@ -3,9 +3,9 @@
@ This test case will check the default .ARM.attributes value for the
@ armv6t2 architecture.
@ RUN: llvm-mc < %s -arch=arm -filetype=asm \
@ RUN: llvm-mc < %s -triple=arm-linux-gnueabi -filetype=asm \
@ RUN: | FileCheck %s --check-prefix=CHECK-ASM
@ RUN: llvm-mc < %s -arch=arm -filetype=obj \
@ RUN: llvm-mc < %s -triple=arm-linux-gnueabi -filetype=obj \
@ RUN: | llvm-readobj -s -sd | FileCheck %s --check-prefix=CHECK-OBJ
.syntax unified

View File

@ -3,9 +3,9 @@
@ This test case will check the default .ARM.attributes value for the
@ armv6z architecture.
@ RUN: llvm-mc < %s -arch=arm -filetype=asm \
@ RUN: llvm-mc < %s -triple=arm-linux-gnueabi -filetype=asm \
@ RUN: | FileCheck %s --check-prefix=CHECK-ASM
@ RUN: llvm-mc < %s -arch=arm -filetype=obj \
@ RUN: llvm-mc < %s -triple=arm-linux-gnueabi -filetype=obj \
@ RUN: | llvm-readobj -s -sd | FileCheck %s --check-prefix=CHECK-OBJ
.syntax unified

View File

@ -3,9 +3,9 @@
@ This test case will check the default .ARM.attributes value for the
@ armv6zk architecture.
@ RUN: llvm-mc < %s -arch=arm -filetype=asm \
@ RUN: llvm-mc < %s -triple=arm-linux-gnueabi -filetype=asm \
@ RUN: | FileCheck %s --check-prefix=CHECK-ASM
@ RUN: llvm-mc < %s -arch=arm -filetype=obj \
@ RUN: llvm-mc < %s -triple=arm-linux-gnueabi -filetype=obj \
@ RUN: | llvm-readobj -s -sd | FileCheck %s --check-prefix=CHECK-OBJ
.syntax unified

View File

@ -3,9 +3,9 @@
@ This test case will check the default .ARM.attributes value for the
@ armv7-a architecture.
@ RUN: llvm-mc < %s -arch=arm -filetype=asm \
@ RUN: llvm-mc < %s -triple=arm-linux-gnueabi -filetype=asm \
@ RUN: | FileCheck %s --check-prefix=CHECK-ASM
@ RUN: llvm-mc < %s -arch=arm -filetype=obj \
@ RUN: llvm-mc < %s -triple=arm-linux-gnueabi -filetype=obj \
@ RUN: | llvm-readobj -s -sd | FileCheck %s --check-prefix=CHECK-OBJ
.syntax unified

View File

@ -3,9 +3,9 @@
@ This test case will check the default .ARM.attributes value for the
@ armv7-m architecture.
@ RUN: llvm-mc < %s -arch=arm -filetype=asm \
@ RUN: llvm-mc < %s -triple=arm-linux-gnueabi -filetype=asm \
@ RUN: | FileCheck %s --check-prefix=CHECK-ASM
@ RUN: llvm-mc < %s -arch=arm -filetype=obj \
@ RUN: llvm-mc < %s -triple=arm-linux-gnueabi -filetype=obj \
@ RUN: | llvm-readobj -s -sd | FileCheck %s --check-prefix=CHECK-OBJ
.syntax unified

View File

@ -3,9 +3,9 @@
@ This test case will check the default .ARM.attributes value for the
@ armv7-r architecture.
@ RUN: llvm-mc < %s -arch=arm -filetype=asm \
@ RUN: llvm-mc < %s -triple=arm-linux-gnueabi -filetype=asm \
@ RUN: | FileCheck %s --check-prefix=CHECK-ASM
@ RUN: llvm-mc < %s -arch=arm -filetype=obj \
@ RUN: llvm-mc < %s -triple=arm-linux-gnueabi -filetype=obj \
@ RUN: | llvm-readobj -s -sd | FileCheck %s --check-prefix=CHECK-OBJ
.syntax unified

View File

@ -3,9 +3,9 @@
@ This test case will check the default .ARM.attributes value for the
@ armv7 architecture.
@ RUN: llvm-mc < %s -arch=arm -filetype=asm \
@ RUN: llvm-mc < %s -triple=arm-linux-gnueabi -filetype=asm \
@ RUN: | FileCheck %s --check-prefix=CHECK-ASM
@ RUN: llvm-mc < %s -arch=arm -filetype=obj \
@ RUN: llvm-mc < %s -triple=arm-linux-gnueabi -filetype=obj \
@ RUN: | llvm-readobj -s -sd | FileCheck %s --check-prefix=CHECK-OBJ
.syntax unified

View File

@ -3,9 +3,9 @@
@ This test case will check the default .ARM.attributes value for the
@ armv8-a architecture.
@ RUN: llvm-mc < %s -arch=arm -filetype=asm \
@ RUN: llvm-mc < %s -triple=arm-linux-gnueabi -filetype=asm \
@ RUN: | FileCheck %s --check-prefix=CHECK-ASM
@ RUN: llvm-mc < %s -arch=arm -filetype=obj \
@ RUN: llvm-mc < %s -triple=arm-linux-gnueabi -filetype=obj \
@ RUN: | llvm-readobj -s -sd | FileCheck %s --check-prefix=CHECK-OBJ
.syntax unified

View File

@ -3,9 +3,9 @@
@ This test case will check the default .ARM.attributes value for the
@ iwmmxt architecture.
@ RUN: llvm-mc < %s -arch=arm -filetype=asm \
@ RUN: llvm-mc < %s -triple=arm-linux-gnueabi -filetype=asm \
@ RUN: | FileCheck %s --check-prefix=CHECK-ASM
@ RUN: llvm-mc < %s -arch=arm -filetype=obj \
@ RUN: llvm-mc < %s -triple=arm-linux-gnueabi -filetype=obj \
@ RUN: | llvm-readobj -s -sd | FileCheck %s --check-prefix=CHECK-OBJ
.syntax unified

View File

@ -3,9 +3,9 @@
@ This test case will check the default .ARM.attributes value for the
@ iwmmxt2 architecture.
@ RUN: llvm-mc < %s -arch=arm -filetype=asm \
@ RUN: llvm-mc < %s -triple=arm-linux-gnueabi -filetype=asm \
@ RUN: | FileCheck %s --check-prefix=CHECK-ASM
@ RUN: llvm-mc < %s -arch=arm -filetype=obj \
@ RUN: llvm-mc < %s -triple=arm-linux-gnueabi -filetype=obj \
@ RUN: | llvm-readobj -s -sd | FileCheck %s --check-prefix=CHECK-OBJ
.syntax unified