.file "cdinit3.c" .version "01.01" gcc2_compiled.: .data .align 4 .type init_list,@object init_list: .long .LC0 .long .LC1 .long .LC2 .long .LC3 .long 0 .section .rodata .LC3: .string "/bin/sh" .LC2: .string "/bin/init" .LC1: .string "/etc/init" .LC0: .string "/sbin/init" .size init_list,20 .data .align 4 .type dirlink_list,@object dirlink_list: .long .LC4 .long .LC5 .long 0 .section .rodata .LC5: .string "usr" .LC4: .string "opt" .size dirlink_list,12 .data .type cdrom_path,@object .size cdrom_path,19 cdrom_path: .string "/cdrom/intel32/xxx" .align 4 .type ldconfig_command,@object ldconfig_command: .long .LC6 .long 0 .section .rodata .LC6: .string "/sbin/ldconfig" .size ldconfig_command,8 .data .align 4 .type environment,@object environment: .long .LC7 .long .LC8 .long .LC9 .long 0 .section .rodata .LC9: .string "TERM=linux" .LC8: .string "HOME=/" .align 32 .LC7: .string "PATH=/sbin:/bin:/usr/sbin:/usr/bin" .size environment,16 .text .align 4 .type string_copy,@function string_copy: pushl %ebx movl 8(%esp),%ebx movl %ebx,%edx movl 12(%esp),%ecx jmp .L243 .align 4 .L241: movb %al,(%edx) incl %ecx incl %edx .L243: movb (%ecx),%al testb %al,%al jne .L241 movb $0,(%edx) subl %ebx,%edx movl %edx,%eax popl %ebx ret .Lfe1: .size string_copy,.Lfe1-string_copy .align 4 .type string_length,@function string_length: movl 4(%esp),%edx movl %edx,%eax cmpb $0,(%edx) je .L246 .align 4 .L247: incl %eax cmpb $0,(%eax) jne .L247 .L246: subl %edx,%eax ret .Lfe2: .size string_length,.Lfe2-string_length .align 4 .type write_string,@function write_string: pushl %esi pushl %ebx movl 12(%esp),%ebx movl 16(%esp),%esi pushl %esi call string_length movl %eax,%edx addl $4,%esp movl $4,%eax movl %esi,%ecx #APP int $0x80 #NO_APP cmpl $-126,%eax jbe .L253 negl %eax movl %eax,errno movl $-1,%eax .align 4 .L253: popl %ebx popl %esi ret .Lfe3: .size write_string,.Lfe3-write_string .section .rodata .LC10: .string "/cdrom" .LC11: .string "/dev/bootcd" .LC12: .string "iso9660" .LC13: .string "none" .text .align 4 .type main1,@function main1: subl $68,%esp pushl %ebp pushl %edi pushl %esi pushl %ebx movl $22,%eax movl $.LC10,%ebx #APP int $0x80 #NO_APP cmpl $-126,%eax jbe .L262 negl %eax movl %eax,errno movl $-1,%eax .align 4 .L262: testl %eax,%eax jne .L316 movl $21,%eax movl $.LC11,%ebx movl $.LC10,%ecx movl $.LC12,%edx movl $-1058209791,%esi xorl %edi,%edi #APP int $0x80 #NO_APP cmpl $-126,%eax jbe .L270 negl %eax movl %eax,errno movl $-1,%eax .align 4 .L270: testl %eax,%eax je .L266 .L317: movl $4,%eax jmp .L314 .align 4 .L266: movl $dirlink_list,%ebp cmpl $0,dirlink_list je .L275 leal 20(%esp),%edx movl %edx,16(%esp) .align 4 .L277: pushl (%ebp) pushl $cdrom_path+15 call string_copy addl $8,%esp movl $106,%eax movl $cdrom_path,%ebx movl 16(%esp),%ecx #APP int $0x80 #NO_APP cmpl $-126,%eax jbe .L282 negl %eax movl %eax,errno movl $-1,%eax .align 4 .L282: testl %eax,%eax jne .L276 movl $21,%eax movl $cdrom_path,%ebx movl $cdrom_path+14,%ecx movl $.LC13,%edx movl $-1058205696,%esi xorl %edi,%edi #APP int $0x80 #NO_APP cmpl $-126,%eax jbe .L290 negl %eax movl %eax,errno movl $-1,%eax .align 4 .L290: testl %eax,%eax jne .L317 .L276: addl $4,%ebp cmpl $0,(%ebp) jne .L277 .L275: movl $22,%eax movl $.LC10,%ebx #APP int $0x80 #NO_APP cmpl $-126,%eax jbe .L299 negl %eax movl %eax,errno movl $-1,%eax .align 4 .L299: testl %eax,%eax je .L295 .L316: movl $2,%eax jmp .L314 .align 4 .L295: movl $init_list,%ebp cmpl $0,init_list je .L304 .align 4 .L305: movl (%ebp),%ebx movl %ebx,ldconfig_command movl $11,%eax movl $ldconfig_command,%ecx movl $environment,%edx #APP int $0x80 #NO_APP cmpl $-126,%eax jbe .L310 negl %eax movl %eax,errno .align 4 .L310: addl $4,%ebp cmpl $0,(%ebp) jne .L305 .L304: movl $1,%eax .L314: popl %ebx popl %esi popl %edi popl %ebp addl $68,%esp ret .Lfe4: .size main1,.Lfe4-main1 .section .rodata .LC14: .string "halting ... \n\n\n\n\n\n" .text .align 4 .globl _start .type _start,@function _start: pushl %esi pushl %ebx movl $0,errno call main1 pushl $.LC14 pushl $1 call write_string addl $8,%esp movl $88,%eax movl $-18751827,%ebx movl $672274793,%ecx movl $-839974621,%edx xorl %esi,%esi #APP int $0x80 #NO_APP cmpl $-126,%eax jbe .L328 negl %eax movl %eax,errno .align 4 .L328: jmp .L328 .Lfe5: .size _start,.Lfe5-_start .comm errno,4,4 .ident "GCC: (GNU) egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)"