Retro68/binutils/ld/testsuite/ld-aarch64/emit-relocs-302.s
2017-04-10 13:32:00 +02:00

13 lines
204 B
ArmAsm

.text
ldr x1, .Lgot
adr x2, .Lgot
add x1, x2, x1
movz x0, #:gotoff_g1:globala
movz x0, #:gotoff_g1:globalb
movz x0, #:gotoff_g1:globalc
ldr x0, [x1, x0]
.Lgot:
.dword _GLOBAL_OFFSET_TABLE_ - .