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
|