about summary refs log tree commit diff
path: root/crt/i386/crt1.s
blob: 8702052a75f330f4985e1a70e9af241a5e55884d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
.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
	pushl $main
	call __libc_start_main
.L0:	jmp .L0