llvm-project/llvm/test/MC/AArch64/adrp-relocation2.s

8 lines
186 B
ArmAsm

// 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: