1 .text 2 .align 2 3main: 4 # R_AARCH64_ADR_PREL_PG_HI21 5 # R_AARCH64_ADR_PREL_PG_HI21_NC 6 # R_AARCH64_ADR_LO_21 7 adrp x0, :pg_hi21:global_a 8 adrp x1, :pg_hi21_nc:global_a 9 adr x2, global_a 10 11 #R_AARCH64_LD_PREL_LO19 12 ldr x3, global_a 13 14 # R_AARCH64_PREL16 15 # R_AARCH64_PREL32 16 # R_AARCH64_PREL64 17 .hword global_a - . 18 .word global_a - . 19 .xword global_a - . 20 21