1 .file "gnulib3.c" 2gcc2_compiled.: 3.text 4 .align 2 5.globl ___main 6___main: 7 pushl %ebp 8 movl %esp,%ebp 9 movl ___DTOR_LIST__,%eax 10 movl %eax,___dli 11 movl $___DTOR_LIST__,___dlp 12 call ___do_global_init 13L1: 14 leave 15 ret 16 .align 2 17.globl _exit 18_exit: 19 pushl %ebp 20 movl %esp,%ebp 21 call ___do_global_cleanup 22 call __cleanup 23 pushl 8(%ebp) 24 call __exit 25 addl $4,%esp 26L2: 27 leave 28 ret 29 .align 2 30.globl ___do_global_init 31___do_global_init: 32 pushl %ebp 33 movl %esp,%ebp 34 subl $4,%esp 35 pushl %edi 36 pushl %esi 37 pushl %ebx 38 movl $___CTOR_LIST__+4,%edi 39 movl ___CTOR_LIST__,%esi 40 xorl %ebx,%ebx 41L4: 42 cmpl %esi,%ebx 43 jge L5 44 movl (%edi,%ebx,4),%eax 45 movl %eax,-4(%ebp) 46 movl -4(%ebp),%eax 47 call *%eax 48L6: 49 incl %ebx 50 jmp L4 51 .align 2,0x90 52L5: 53L3: 54 leal -16(%ebp),%esp 55 popl %ebx 56 popl %esi 57 popl %edi 58 leave 59 ret 60 .align 2 61.globl ___do_global_cleanup 62___do_global_cleanup: 63 pushl %ebp 64 movl %esp,%ebp 65 subl $4,%esp 66 pushl %esi 67 pushl %ebx 68 nop 69L8: 70 cmpl $0,___dlp 71 je L9 72L10: 73 decl ___dli 74 cmpl $0,___dli 75 jl L11 76 movl ___dlp,%eax 77 movl ___dli,%edx 78 movl 4(%eax,%edx,4),%esi 79 movl %esi,-4(%ebp) 80 movl -4(%ebp),%ebx 81 call *%ebx 82 jmp L10 83 .align 2,0x90 84L11: 85 movl ___dlp,%eax 86 movl ___dlp,%edx 87 movl (%edx),%ecx 88 movl 4(%eax,%ecx,4),%esi 89 movl %esi,___dlp 90 cmpl $0,___dlp 91 je L12 92 movl ___dlp,%eax 93 movl (%eax),%esi 94 movl %esi,___dli 95L12: 96 jmp L8 97 .align 2,0x90 98L9: 99L7: 100 leal -12(%ebp),%esp 101 popl %ebx 102 popl %esi 103 leave 104 ret 105.comm ___dlp,4 106.comm ___dli,4 107