summaryrefslogtreecommitdiff
path: root/test/MC/ARM/elf-thumbfunc-reloc.s
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2013-06-10 23:20:58 +0000
committerTim Northover <tnorthover@apple.com>2013-06-10 23:20:58 +0000
commit9bdd78501484a1add2d8a757fd29960dd9fc9de7 (patch)
treea0de733750c030b3280711231515852051a38bcc /test/MC/ARM/elf-thumbfunc-reloc.s
parent45dec48dc3725a8e5ca5cfdeeed941eea2e456f1 (diff)
downloadllvm-9bdd78501484a1add2d8a757fd29960dd9fc9de7.tar.gz
llvm-9bdd78501484a1add2d8a757fd29960dd9fc9de7.tar.bz2
llvm-9bdd78501484a1add2d8a757fd29960dd9fc9de7.tar.xz
ARM: diagnose ARM/Thumb assembly switches on CPUs only supporting one.
Some ARM CPUs only support ARM mode (ancient v4 ones, for example) and some only support Thumb mode (M-class ones currently). This makes sure such CPUs default to the correct mode and makes the AsmParser diagnose an attempt to switch modes incorrectly. rdar://14024354 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183710 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/ARM/elf-thumbfunc-reloc.s')
-rw-r--r--test/MC/ARM/elf-thumbfunc-reloc.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/MC/ARM/elf-thumbfunc-reloc.s b/test/MC/ARM/elf-thumbfunc-reloc.s
index de3594e1ce..614702012f 100644
--- a/test/MC/ARM/elf-thumbfunc-reloc.s
+++ b/test/MC/ARM/elf-thumbfunc-reloc.s
@@ -1,5 +1,5 @@
@@ test st_value bit 0 of thumb function
-@ RUN: llvm-mc %s -triple=arm-freebsd-eabi -filetype=obj -o - | \
+@ RUN: llvm-mc %s -triple=armv4t-freebsd-eabi -filetype=obj -o - | \
@ RUN: llvm-readobj -r | FileCheck %s