Retro68/binutils/ld/testsuite/ld-i386/pr18801.s
2017-04-10 13:32:00 +02:00

16 lines
234 B
ArmAsm

.text
.type selector, %function
foo:
movl $0, %eax
ret
selector:
mov $foo, %eax
ret
.type selector, %gnu_indirect_function
.globl _start
_start:
mov $selector, %eax
call *%eax
ret
.section .note.GNU-stack,"",@progbits