aboutsummaryrefslogtreecommitdiff
path: root/lib/mlibc/sysdeps/linux/x86/crt-src/crt1.S
blob: ed45da3d2eff5601be951439189984eac65502d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
.section .text
.global _start

.type _start, %function
.type main, %function
.type __mlibc_entry, %function

.cfi_startproc
_start:
.cfi_undefined eip
	xor %ebp, %ebp
	mov %esp, %ecx
	push $main
	push %ecx
	call __mlibc_entry
.cfi_endproc

.section .note.GNU-stack,"",%progbits