mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-11 03:52:59 +00:00
10 lines
138 B
ArmAsm
10 lines
138 B
ArmAsm
|
.text
|
||
|
.global func
|
||
|
.type func, %function
|
||
|
func:
|
||
|
adrp x0, :got:foo
|
||
|
ldr x0, [x0, #:got_lo12:foo]
|
||
|
ldr w0, [x0]
|
||
|
ret
|
||
|
.size func, .-func
|