binutils-gdb/ld/testsuite/ld-aarch64/emit-relocs-313.s

6 lines
154 B
ArmAsm

.text
adrp x2, _GLOBAL_OFFSET_TABLE_
ldr x0, [x2, #:gotpage_lo15:globala]
ldr x0, [x2, #:gotpage_lo15:globalb]
ldr x0, [x2, #:gotpage_lo15:globalc]