1// REQUIRES: aarch64
2// RUN: llvm-mc -filetype=obj -triple=aarch64 %S/Inputs/abs.s -o %tabs.o
3// RUN: llvm-mc -filetype=obj -triple=aarch64 %s -o %t.o
4// RUN: ld.lld %t.o %tabs.o -o %t
5// RUN: llvm-objdump -d --no-show-raw-insn %t | FileCheck %s
6
7.text
8.globl _start
9_start:
10    bl big
11
12// CHECK: Disassembly of section .text:
13// CHECK-EMPTY:
14// CHECK-NEXT: <_start>:
15// CHECK-NEXT:    210120:       bl      0x210124
16// CHECK: <__AArch64AbsLongThunk_big>:
17// CHECK-NEXT:    210124:       ldr     x16, 0x21012c
18// CHECK-NEXT:    210128:       br      x16
19// CHECK: <$d>:
20// CHECK-NEXT:    21012c:       00 00 00 00     .word   0x00000000
21// CHECK-NEXT:    210130:       10 00 00 00     .word   0x00000010
22
23