Commit | Line | Data |
---|---|---|
712ec279 L |
1 | .section .rodata.str1.1,"aMS",@progbits,1 |
2 | .LC0: | |
3 | .string "PASS" | |
4 | .text | |
5 | .p2align 4,,15 | |
6 | .globl check | |
7 | .type check, @function | |
8 | check: | |
9 | subl $12, %esp | |
10 | call *get_func1@GOT | |
11 | cmpl $func1, %eax | |
12 | jne .L3 | |
13 | call *func1@GOT | |
14 | cmpl $1, %eax | |
15 | jne .L3 | |
16 | call *call_func1@GOT | |
17 | cmpl $1, %eax | |
18 | jne .L3 | |
19 | call *call_func2@GOT | |
20 | cmpl $2, %eax | |
21 | jne .L3 | |
22 | subl $12, %esp | |
23 | pushl $.LC0 | |
24 | call *puts@GOT | |
25 | addl $28, %esp | |
26 | ret | |
27 | .L3: | |
28 | call *abort@GOT | |
29 | .size check, .-check | |
30 | .section .note.GNU-stack,"",@progbits |