Retro68/binutils/ld/testsuite/ld-ifunc/ifunc-21-i386.s

24 lines
399 B
ArmAsm
Raw Normal View History

2017-04-10 11:32:00 +00:00
.text
.type start,"function"
.global start
start:
.type _start,"function"
.global _start
_start:
.type __start,"function"
.global __start
__start:
.type __start,"function"
call *foo@GOT(%ebx)
jmp *foo@GOT(%ebx)
add foo@GOT(%ebx), %eax
mov foo@GOT(%ebx), %eax
test %eax, foo@GOT(%ebx)
mov bar@GOT(%ebx), %eax
.type foo, %gnu_indirect_function
foo:
ret
.type bar, %function
bar:
ret