llvm-for-llvmta/test/MC/AArch64/adrp-relocation2.s

8 lines
186 B
ArmAsm
Raw Normal View History

2022-04-25 10:02:23 +02:00
// RUN: llvm-mc -triple=aarch64-linux-gnu -filetype=obj -o - %s | llvm-readobj -r - | FileCheck %s
// CHECK: R_AARCH64_ADR_PREL_PG_HI21_NC sym
adrp x0, :pg_hi21_nc:sym
.globl sym
sym: