aboutsummaryrefslogtreecommitdiff
path: root/crt/i386/crt1.s
blob: f5b4f4fd612ae3c5d50cbde5b925fb50e97865f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
.weak _init
.weak _fini
.text
.global _start
_start:
	xor %ebp,%ebp
	pop %ecx
	mov %esp,%eax
	and $-16,%esp
	push %esp
	push %esp
	push %edx
	push $_fini
	push $_init
	push %eax
	push %ecx
	push $main
	call __libc_start_main
1:	jmp 1b