adrp
The ARM64 instruction that finds the 4 KB block of memory a global variable lives in, relative to the current instruction; an add then supplies the last 12 bits.
adrp xd, symbol sets xd to the 4 KB-aligned address containing symbol, computed relative to the program counter's own 4 KB-aligned address (range plus or minus 4 GB); add xd, xd, :lo12:symbol then adds the low 12 bits.
Examples
adrp x0, tableputs the address oftable's 4 KB block inx0;add x0, x0, :lo12:tableadds the low 12 bits.
See also