Retro68/binutils/ld/testsuite/ld-ifunc/ifunc-2-local-i386.s

19 lines
292 B
ArmAsm
Raw Normal View History

2012-03-26 19:18:29 +00:00
.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
2017-04-10 11:32:00 +00:00
call __GI_foo@PLT
2022-10-27 18:45:45 +00:00
movl __GI_foo@GOT(%ebx), %eax
2012-03-26 19:18:29 +00:00
ret
.size bar, .-bar