2 // RUN: llvm-mc -filetype=obj -triple=arm-none-linux-gnueabi %s -o %t
3 // RUN: ld.lld %t -o /dev/null 2>&1 | FileCheck %s
5 // On Arm v4t there is no blx instruction so all interworking must go via
6 // a thunk. At present we don't support v4t so we give a warning for unsupported
9 // CHECK: warning: lld uses blx instruction, no object with architecture supporting feature detected.
10 // CHECK-NEXT: warning: lld uses extended branch encoding, no object with architecture supporting feature detected.
11 // CHECK-NEXT: warning: lld may use movt/movw, no object with architecture supporting feature detected.
16 .eabi_attribute 6, 2 @ Tag_CPU_arch
19 .type _start,%function
26 .section .text.2, "ax", %progbits
28 .type thumbfunc,%function