Retro68/binutils/ld/testsuite/ld-x86-64/pr18801.s

16 lines
240 B
ArmAsm
Raw Normal View History

2017-04-10 11:32:00 +00:00
.text
.type selector, %function
foo:
movl $0, %eax
ret
selector:
movabs $foo, %rax
ret
.type selector, %gnu_indirect_function
.globl _start
_start:
movabs $selector, %rax
call *%rax
ret
.section .note.GNU-stack,"",@progbits