Commit | Line | Data |
---|---|---|
02a86693 L |
1 | .text |
2 | .globl main | |
3 | .type main, @function | |
4 | main: | |
5 | subl $12, %esp | |
6 | call *foo@GOT | |
7 | call *bar@GOT | |
8 | call *plt@GOT | |
9 | movl foo@GOT, %eax | |
10 | call *%eax | |
11 | movl bar@GOT, %eax | |
12 | call *%eax | |
13 | movl plt@GOT, %eax | |
14 | call *%eax | |
15 | movl foo@GOT(%ebx), %ecx | |
16 | call *%ecx | |
17 | subl $12, %esp | |
18 | pushl $0 | |
19 | pushl $0 # Push a dummy return address onto stack. | |
20 | jmp *myexit@GOT | |
21 | .size main, .-main |