.file "call.c" .text .globl g0 .type g0, @function g0: pushl %ebp movl %esp, %ebp movl $0, %eax popl %ebp ret .size g0, .-g0 .globl g1 .type g1, @function g1: pushl %ebp movl %esp, %ebp movl $0, %eax popl %ebp ret .size g1, .-g1 .globl g2 .type g2, @function g2: pushl %ebp movl %esp, %ebp movl $0, %eax popl %ebp ret .size g2, .-g2 .globl g3 .type g3, @function g3: pushl %ebp movl %esp, %ebp movl $0, %eax popl %ebp ret .size g3, .-g3 .globl call_0 .type call_0, @function call_0: pushl %ebp movl %esp, %ebp call g0 popl %ebp ret .size call_0, .-call_0 .globl call_1 .type call_1, @function call_1: pushl %ebp movl %esp, %ebp subl $4, %esp movl $2, (%esp) call g1 leave ret .size call_1, .-call_1 .globl call_2 .type call_2, @function call_2: pushl %ebp movl %esp, %ebp subl $8, %esp movl $4, 4(%esp) movl $2, (%esp) call g2 leave ret .size call_2, .-call_2 .globl call_3 .type call_3, @function call_3: pushl %ebp movl %esp, %ebp subl $12, %esp movl $5, 8(%esp) movl $4, 4(%esp) movl $2, (%esp) call g3 leave ret .size call_3, .-call_3 .globl call_1_param .type call_1_param, @function call_1_param: pushl %ebp movl %esp, %ebp subl $4, %esp movl 8(%ebp), %eax movl %eax, (%esp) call g1 leave ret .size call_1_param, .-call_1_param .globl call_2_param .type call_2_param, @function call_2_param: pushl %ebp movl %esp, %ebp subl $8, %esp movl 12(%ebp), %eax movl %eax, 4(%esp) movl 8(%ebp), %eax movl %eax, (%esp) call g2 leave ret .size call_2_param, .-call_2_param .globl call_3_param .type call_3_param, @function call_3_param: pushl %ebp movl %esp, %ebp subl $12, %esp movl 16(%ebp), %eax movl %eax, 8(%esp) movl 12(%ebp), %eax movl %eax, 4(%esp) movl 8(%ebp), %eax movl %eax, (%esp) call g3 leave ret .size call_3_param, .-call_3_param .ident "GCC: (GNU) 4.1.2 20080704 (Red Hat 4.1.2-52)" .section .note.GNU-stack,"",@progbits