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