1 .text 2 .type selector, %function 3foo: 4 movl $0, %eax 5 ret 6selector: 7 mov $foo, %eax 8 ret 9 .type selector, %gnu_indirect_function 10 .globl _start 11_start: 12 mov $selector, %rax 13 call *%rax 14 ret 15 .section .note.GNU-stack,"",@progbits 16