summaryrefslogblamecommitdiff
path: root/crt/i386/crt1.s
blob: 4d5f572fee958e11736f54218981b5443274e898 (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                      

                  

                  


                             
                              
              
.text
.global _start
_start:
	xorl %ebp,%ebp
	popl %ecx
	movl %esp,%eax
	andl $-16,%esp
	pushl %esp
	pushl %esp
	pushl %edx
	pushl %ebp
	pushl %ebp
	pushl %eax
	pushl %ecx
	call 1f
1:	addl $[main-.],(%esp)
	//pushl $main
	call __libc_start_main
1:	jmp 1b