2 // RUN
: llvm-mc
-arm-add-build-attributes
-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
16 .type _start,%function
23 .section .text.2, "ax", %progbits
25 .type thumbfunc,%function