mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-24 07:35:04 +00:00
[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
This commit is contained in:
parent
aa8dde50b7
commit
e18ad3d4c8
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user