2 // RUN
: llvm-mc
-filetype
=obj
-triple
=aarch64-linux-gnu
%s
-o
%t.o
3 // RUN
: ld.lld
%t.o
-o
%t
4 // RUN
: llvm-objdump
-d
--start-address
=0x81d1008 --stop-address
=0x81d100c --no-show-raw-insn
%t | FileCheck
%s
6 // Check that the range extension thunks are dumped close to the aarch64 branch
8 .section .text.1, "ax", %progbits
15 .section .text.2, "ax", %progbits
18 .section .text.2, "ax", %progbits
21 .section .text.3, "ax", %progbits
24 .section .text.4, "ax", %progbits
25 .space 0x2000000 - 0x40000
27 .section .text.5, "ax", %progbits
30 .section .text.6, "ax", %progbits
34 .type high_target, %function
38 // CHECK
: <__AArch64AbsLongThunk_high_target
>:
39 // CHECK-NEXT
: 81d1008
: b 0x8212000 <high_target
>