mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
19 lines
291 B
ArmAsm
19 lines
291 B
ArmAsm
|
.type foo, %gnu_indirect_function
|
||
|
.set __GI_foo, foo
|
||
|
.text
|
||
|
.type foo, @function
|
||
|
foo:
|
||
|
ret
|
||
|
.size foo, .-foo
|
||
|
.globl bar
|
||
|
.type bar, @function
|
||
|
bar:
|
||
|
call .L6
|
||
|
.L6:
|
||
|
popl %ebx
|
||
|
addl $_GLOBAL_OFFSET_TABLE_+[.-.L6], %ebx
|
||
|
call __GI_foo
|
||
|
leal __GI_foo@GOTOFF(%ebx), %eax
|
||
|
ret
|
||
|
.size bar, .-bar
|