1// REQUIRES: aarch64 2// RUN: llvm-mc -filetype=obj -triple=aarch64-none-linux %s -o %t.o 3// RUN: ld.lld --fix-cortex-a53-843419 -Ttext=0x8000000 %t.o -o %t2 4// RUN: llvm-objdump -d --start-address=0x8001000 --stop-address=0x8001004 %t2 | FileCheck %s 5/// The temporary files are more than 128MiB. Delete them early. 6// RUN: rm %t.o %t2 7 8.section .text.01, "ax", %progbits 9.balign 4096 10.space 4096 - 8 11adrp x0, thunk 12ldr x1, [x1, #0] 13// CHECK: <thunk>: 14// CHECK-NEXT: b 0xc001008 <__CortexA53843419_8001000> 15thunk: 16ldr x0, [x0, :got_lo12:thunk] 17ret 18.space 64 * 1024 * 1024 19 20.section .text.02, "ax", %progbits 21.space 64 * 1024 * 1024 22