mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-27 14:50:23 +00:00
13 lines
213 B
ArmAsm
13 lines
213 B
ArmAsm
|
.text
|
||
|
ldr x1, .Lgot
|
||
|
adr x2, .Lgot
|
||
|
add x1, x2, x1
|
||
|
|
||
|
movk x0, #:gotoff_g0_nc:globala
|
||
|
movk x0, #:gotoff_g0_nc:globalb
|
||
|
movk x0, #:gotoff_g0_nc:globalc
|
||
|
ldr x0, [x1, x0]
|
||
|
|
||
|
.Lgot:
|
||
|
.dword _GLOBAL_OFFSET_TABLE_ - .
|