mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-12 12:16:04 +08:00
21 lines
349 B
ArmAsm
21 lines
349 B
ArmAsm
|
.text
|
||
|
.p2align 4
|
||
|
.type my_foo, @function
|
||
|
my_foo:
|
||
|
ret
|
||
|
.size my_foo, .-my_foo
|
||
|
.p2align 4
|
||
|
.type resolve_foo, @function
|
||
|
resolve_foo:
|
||
|
leal my_foo@GOTOFF(%eax), %eax
|
||
|
ret
|
||
|
.size resolve_foo, .-resolve_foo
|
||
|
.type foo, @gnu_indirect_function
|
||
|
.set foo,resolve_foo
|
||
|
.p2align 4
|
||
|
.globl bar
|
||
|
.type bar, @function
|
||
|
bar:
|
||
|
leal foo@GOTOFF(%eax), %eax
|
||
|
ret
|