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