1// This input must be assembled by the GNU assembler, as llvm-mc does not emit
2// the R_ARM_JUMP11 relocation for a Thumb narrow branch. This is permissible
3// by the ABI for the ARM architecture as the range of the Thumb narrow branch
4// is short enough (+- 2048 bytes) that widespread use would be impractical.
5//
6// The test case will use a pre compiled object arm-thumb-narrow-branch.o
7 .syntax unified
8 .section .caller, "ax",%progbits
9 .thumb
10 .align 2
11 .type callers,%function
12 .globl callers
13callers:
14 b.n callee_low_far
15 b.n callee_low
16 b.n callee_high
17 b.n callee_high_far
18 bx lr
19