blob: 6ec79ba0c0fd9ce65810530e16227da66c842482 [file] [log] [blame]
.text
.type selector, %function
foo:
movl $0, %eax
ret
selector:
mov $foo, %eax
ret
.type selector, %gnu_indirect_function
.globl _start
_start:
mov $selector, %rax
call *%rax
ret
.section .note.GNU-stack,"",@progbits