Commit | Line | Data |
---|---|---|
bc696fd5 L |
1 | .text |
2 | .globl main | |
3 | .type main, @function | |
4 | main: | |
5 | subq $8, %rsp | |
6 | movq bar_alias(%rip), %rdi | |
7 | call foo@PLT | |
9d1d54d5 L |
8 | movq ptr(%rip), %rax |
9 | movq (%rax), %rdi | |
10 | call foo@PLT | |
bc696fd5 L |
11 | xorl %eax, %eax |
12 | addq $8, %rsp | |
13 | ret | |
14 | .size main, .-main | |
9d1d54d5 L |
15 | .globl ptr |
16 | .section .data.rel,"aw",@progbits | |
17 | .align 8 | |
18 | .type ptr, @object | |
19 | .size ptr, 8 | |
20 | ptr: | |
21 | .quad bar_alias | |
bc696fd5 | 22 | .section .note.GNU-stack,"",@progbits |