1 @ RUN
: llvm-mc
-filetype
=obj
-triple
=armv7
%s
-o
%t
2 @ RUN
: llvm-readelf
-r
%t | FileCheck
%s
--check-prefix
=RELOC
3 @ RUN
: llvm-objdump
-d
--triple
=armv7
%t | FileCheck
%s
--check-prefix
=ADDEND
5 @ RUN
: llvm-mc
-filetype
=obj
--triple
=armebv7-unknown-unknown
%s
-o
%t
6 @ RUN
: llvm-readelf
-r
%t | FileCheck
%s
--check-prefix
=RELOC
7 @ RUN
: llvm-objdump
-d
--triple
=armebv7-unknown-unknown
%t | FileCheck
%s
--check-prefix
=ADDEND
9 .section .text._func1, "ax"
13 .type _func1, %function
16 @ RELOC
: R_ARM_ALU_PC_G0
19 @ RELOC
: R_ARM_THM_ALU_PREL_11_0
22 @ ADDEND
: sub r0, pc
, #8
23 @ ADDEND-NEXT
: adr.w
r0, #-4