mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-06 12:09:26 +08: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
|