aboutsummaryrefslogtreecommitdiff
path: root/test/ELF/arm-blx-v4t.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/ELF/arm-blx-v4t.s')
-rw-r--r--test/ELF/arm-blx-v4t.s7
1 files changed, 2 insertions, 5 deletions
diff --git a/test/ELF/arm-blx-v4t.s b/test/ELF/arm-blx-v4t.s
index f526b3b01f4a..6c2b69885a10 100644
--- a/test/ELF/arm-blx-v4t.s
+++ b/test/ELF/arm-blx-v4t.s
@@ -1,19 +1,16 @@
// REQUIRES: arm
-// RUN: llvm-mc -filetype=obj -triple=arm-none-linux-gnueabi %s -o %t
+// RUN: llvm-mc -arm-add-build-attributes -filetype=obj -triple=arm-none-linux-gnueabi %s -o %t
// RUN: ld.lld %t -o /dev/null 2>&1 | FileCheck %s
// On Arm v4t there is no blx instruction so all interworking must go via
// a thunk. At present we don't support v4t so we give a warning for unsupported
// features.
-// CHECK: warning: lld uses blx instruction, no object with architecture supporting feature detected.
-// CHECK-NEXT: warning: lld uses extended branch encoding, no object with architecture supporting feature detected.
-// CHECK-NEXT: warning: lld may use movt/movw, no object with architecture supporting feature detected.
+// CHECK: warning: lld uses blx instruction, no object with architecture supporting feature detected
.text
.syntax unified
.cpu arm7tdmi
- .eabi_attribute 6, 2 @ Tag_CPU_arch
.arm
.globl _start
.type _start,%function