mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
19 lines
301 B
ArmAsm
19 lines
301 B
ArmAsm
|
.type foo, %gnu_indirect_function
|
||
|
.global __GI_foo
|
||
|
.hidden __GI_foo
|
||
|
.set __GI_foo, foo
|
||
|
.text
|
||
|
.globl foo
|
||
|
.type foo, @function
|
||
|
foo:
|
||
|
ret
|
||
|
.size foo, .-foo
|
||
|
.globl bar
|
||
|
.type bar, @function
|
||
|
bar:
|
||
|
bl __GI_foo
|
||
|
adrp x0, __GI_foo
|
||
|
add x0, x0, :lo12:__GI_foo
|
||
|
ret
|
||
|
.size bar, .-bar
|