Commit | Line | Data |
---|---|---|
56ceb5b5 L |
1 | .text |
2 | .globl main | |
3 | .type main, @function | |
4 | main: | |
5 | subq $8, %rsp | |
6 | call *foo@GOTPCREL(%rip) | |
7 | call *bar@GOTPCREL(%rip) | |
8 | call *plt@GOTPCREL(%rip) | |
9 | movq foo@GOTPCREL(%rip), %rax | |
10 | call *%rax | |
11 | movq bar@GOTPCREL(%rip), %rcx | |
12 | call *%rcx | |
13 | movq plt@GOTPCREL(%rip), %rdx | |
14 | call *%rdx | |
15 | xorl %edi, %edi | |
16 | addq $8, %rsp | |
17 | jmp *myexit@GOTPCREL(%rip) | |
18 | .size main, .-main |