summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLogan Chien <tzuhsiang.chien@gmail.com>2013-12-11 19:38:10 +0000
committerLogan Chien <tzuhsiang.chien@gmail.com>2013-12-11 19:38:10 +0000
commite18ad3d4c8f930ed3148d84f5fab2c3cd6c36a69 (patch)
tree14305d0b8f48e75a7352c0b9608e0de6c58a88b1
parentaa8dde50b77d17d3ef9e4aef92e3ffb5bc5fde1d (diff)
downloadllvm-e18ad3d4c8f930ed3148d84f5fab2c3cd6c36a69.tar.gz
llvm-e18ad3d4c8f930ed3148d84f5fab2c3cd6c36a69.tar.bz2
llvm-e18ad3d4c8f930ed3148d84f5fab2c3cd6c36a69.tar.xz
[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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197062 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/MC/ARM/directive-arch-armv2.s4
-rw-r--r--test/MC/ARM/directive-arch-armv2a.s4
-rw-r--r--test/MC/ARM/directive-arch-armv3.s4
-rw-r--r--test/MC/ARM/directive-arch-armv3m.s4
-rw-r--r--test/MC/ARM/directive-arch-armv4.s4
-rw-r--r--test/MC/ARM/directive-arch-armv4t.s4
-rw-r--r--test/MC/ARM/directive-arch-armv5.s4
-rw-r--r--test/MC/ARM/directive-arch-armv5t.s4
-rw-r--r--test/MC/ARM/directive-arch-armv5te.s4
-rw-r--r--test/MC/ARM/directive-arch-armv6-m.s4
-rw-r--r--test/MC/ARM/directive-arch-armv6.s4
-rw-r--r--test/MC/ARM/directive-arch-armv6j.s4
-rw-r--r--test/MC/ARM/directive-arch-armv6t2.s4
-rw-r--r--test/MC/ARM/directive-arch-armv6z.s4
-rw-r--r--test/MC/ARM/directive-arch-armv6zk.s4
-rw-r--r--test/MC/ARM/directive-arch-armv7-a.s4
-rw-r--r--test/MC/ARM/directive-arch-armv7-m.s4
-rw-r--r--test/MC/ARM/directive-arch-armv7-r.s4
-rw-r--r--test/MC/ARM/directive-arch-armv7.s4
-rw-r--r--test/MC/ARM/directive-arch-armv8-a.s4
-rw-r--r--test/MC/ARM/directive-arch-iwmmxt.s4
-rw-r--r--test/MC/ARM/directive-arch-iwmmxt2.s4
22 files changed, 44 insertions, 44 deletions
diff --git a/test/MC/ARM/directive-arch-armv2.s b/test/MC/ARM/directive-arch-armv2.s
index a3699226ab..177bc2dfde 100644
--- a/test/MC/ARM/directive-arch-armv2.s
+++ b/test/MC/ARM/directive-arch-armv2.s
@@ -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
diff --git a/test/MC/ARM/directive-arch-armv2a.s b/test/MC/ARM/directive-arch-armv2a.s
index f118a05999..6192321282 100644
--- a/test/MC/ARM/directive-arch-armv2a.s
+++ b/test/MC/ARM/directive-arch-armv2a.s
@@ -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
diff --git a/test/MC/ARM/directive-arch-armv3.s b/test/MC/ARM/directive-arch-armv3.s
index 7b17faaedb..2203d92401 100644
--- a/test/MC/ARM/directive-arch-armv3.s
+++ b/test/MC/ARM/directive-arch-armv3.s
@@ -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
diff --git a/test/MC/ARM/directive-arch-armv3m.s b/test/MC/ARM/directive-arch-armv3m.s
index befecc8bde..2f85c44fc1 100644
--- a/test/MC/ARM/directive-arch-armv3m.s
+++ b/test/MC/ARM/directive-arch-armv3m.s
@@ -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
diff --git a/test/MC/ARM/directive-arch-armv4.s b/test/MC/ARM/directive-arch-armv4.s
index 2e0e49f6fd..418e2f7787 100644
--- a/test/MC/ARM/directive-arch-armv4.s
+++ b/test/MC/ARM/directive-arch-armv4.s
@@ -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
diff --git a/test/MC/ARM/directive-arch-armv4t.s b/test/MC/ARM/directive-arch-armv4t.s
index 6a61a38555..6ff8871f34 100644
--- a/test/MC/ARM/directive-arch-armv4t.s
+++ b/test/MC/ARM/directive-arch-armv4t.s
@@ -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
diff --git a/test/MC/ARM/directive-arch-armv5.s b/test/MC/ARM/directive-arch-armv5.s
index 4ef4b29b71..8ed0c51217 100644
--- a/test/MC/ARM/directive-arch-armv5.s
+++ b/test/MC/ARM/directive-arch-armv5.s
@@ -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
diff --git a/test/MC/ARM/directive-arch-armv5t.s b/test/MC/ARM/directive-arch-armv5t.s
index e5950bebca..5176850b86 100644
--- a/test/MC/ARM/directive-arch-armv5t.s
+++ b/test/MC/ARM/directive-arch-armv5t.s
@@ -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
diff --git a/test/MC/ARM/directive-arch-armv5te.s b/test/MC/ARM/directive-arch-armv5te.s
index 9e69e37725..2320f287f0 100644
--- a/test/MC/ARM/directive-arch-armv5te.s
+++ b/test/MC/ARM/directive-arch-armv5te.s
@@ -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
diff --git a/test/MC/ARM/directive-arch-armv6-m.s b/test/MC/ARM/directive-arch-armv6-m.s
index 81acd73e1a..5a28905b6a 100644
--- a/test/MC/ARM/directive-arch-armv6-m.s
+++ b/test/MC/ARM/directive-arch-armv6-m.s
@@ -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
diff --git a/test/MC/ARM/directive-arch-armv6.s b/test/MC/ARM/directive-arch-armv6.s
index f8076ceb8f..dbac712672 100644
--- a/test/MC/ARM/directive-arch-armv6.s
+++ b/test/MC/ARM/directive-arch-armv6.s
@@ -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
diff --git a/test/MC/ARM/directive-arch-armv6j.s b/test/MC/ARM/directive-arch-armv6j.s
index e3369464ea..619e8d3e30 100644
--- a/test/MC/ARM/directive-arch-armv6j.s
+++ b/test/MC/ARM/directive-arch-armv6j.s
@@ -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
diff --git a/test/MC/ARM/directive-arch-armv6t2.s b/test/MC/ARM/directive-arch-armv6t2.s
index dfaa6d2c63..ce55df792f 100644
--- a/test/MC/ARM/directive-arch-armv6t2.s
+++ b/test/MC/ARM/directive-arch-armv6t2.s
@@ -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
diff --git a/test/MC/ARM/directive-arch-armv6z.s b/test/MC/ARM/directive-arch-armv6z.s
index 077153752f..ac7751d22a 100644
--- a/test/MC/ARM/directive-arch-armv6z.s
+++ b/test/MC/ARM/directive-arch-armv6z.s
@@ -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
diff --git a/test/MC/ARM/directive-arch-armv6zk.s b/test/MC/ARM/directive-arch-armv6zk.s
index f6eca4e1e5..7cdb9091a8 100644
--- a/test/MC/ARM/directive-arch-armv6zk.s
+++ b/test/MC/ARM/directive-arch-armv6zk.s
@@ -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
diff --git a/test/MC/ARM/directive-arch-armv7-a.s b/test/MC/ARM/directive-arch-armv7-a.s
index f36dbc0b5f..58571cbe0a 100644
--- a/test/MC/ARM/directive-arch-armv7-a.s
+++ b/test/MC/ARM/directive-arch-armv7-a.s
@@ -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
diff --git a/test/MC/ARM/directive-arch-armv7-m.s b/test/MC/ARM/directive-arch-armv7-m.s
index e3c99b2cc8..6533cc6b8e 100644
--- a/test/MC/ARM/directive-arch-armv7-m.s
+++ b/test/MC/ARM/directive-arch-armv7-m.s
@@ -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
diff --git a/test/MC/ARM/directive-arch-armv7-r.s b/test/MC/ARM/directive-arch-armv7-r.s
index 9d1316c150..2aa702c906 100644
--- a/test/MC/ARM/directive-arch-armv7-r.s
+++ b/test/MC/ARM/directive-arch-armv7-r.s
@@ -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
diff --git a/test/MC/ARM/directive-arch-armv7.s b/test/MC/ARM/directive-arch-armv7.s
index 035bcbd9e2..5d8f2ca321 100644
--- a/test/MC/ARM/directive-arch-armv7.s
+++ b/test/MC/ARM/directive-arch-armv7.s
@@ -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
diff --git a/test/MC/ARM/directive-arch-armv8-a.s b/test/MC/ARM/directive-arch-armv8-a.s
index b7cd9b1329..33e0b586ef 100644
--- a/test/MC/ARM/directive-arch-armv8-a.s
+++ b/test/MC/ARM/directive-arch-armv8-a.s
@@ -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
diff --git a/test/MC/ARM/directive-arch-iwmmxt.s b/test/MC/ARM/directive-arch-iwmmxt.s
index 1a325e1365..53365afb95 100644
--- a/test/MC/ARM/directive-arch-iwmmxt.s
+++ b/test/MC/ARM/directive-arch-iwmmxt.s
@@ -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
diff --git a/test/MC/ARM/directive-arch-iwmmxt2.s b/test/MC/ARM/directive-arch-iwmmxt2.s
index 42f0789d40..d71098f79c 100644
--- a/test/MC/ARM/directive-arch-iwmmxt2.s
+++ b/test/MC/ARM/directive-arch-iwmmxt2.s
@@ -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