Commit | Line | Data |
---|---|---|
ca8c86ef 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 | pushl %ebx | |
10 | call __x86.get_pc_thunk.bx | |
11 | addl $_GLOBAL_OFFSET_TABLE_, %ebx | |
12 | subl $8, %esp | |
13 | call *get_func1@GOT(%ebx) | |
14 | cmpl func1@GOT(%ebx), %eax | |
15 | jne .L3 | |
16 | call *func1@GOT(%ebx) | |
17 | cmpl $1, %eax | |
18 | jne .L3 | |
19 | call *call_func1@GOT(%ebx) | |
20 | cmpl $1, %eax | |
21 | jne .L3 | |
22 | call *call_func2@GOT(%ebx) | |
23 | cmpl $2, %eax | |
24 | jne .L3 | |
25 | leal .LC0@GOTOFF(%ebx), %eax | |
26 | subl $12, %esp | |
27 | pushl %eax | |
28 | call *puts@GOT(%ebx) | |
29 | addl $24, %esp | |
30 | popl %ebx | |
31 | ret | |
32 | .L3: | |
33 | call *abort@GOT(%ebx) | |
34 | .size check, .-check | |
35 | .section .text.__x86.get_pc_thunk.bx,"axG",@progbits,__x86.get_pc_thunk.bx,comdat | |
36 | .globl __x86.get_pc_thunk.bx | |
37 | .hidden __x86.get_pc_thunk.bx | |
38 | .type __x86.get_pc_thunk.bx, @function | |
39 | __x86.get_pc_thunk.bx: | |
40 | movl (%esp), %ebx | |
41 | ret | |
42 | .section .note.GNU-stack,"",@progbits |