mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-12 11:29:30 +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
|