shithub: scc

ref: 0949cd4d71259d629db66da3955c389f0be2129c
dir: /src/libc/arch/i386/crt-posix.s/

View raw version
	.bss
	.globl	_environ
_environ:
	.long	0

	.text
	.globl	_start
_start:
	movl	%esp,%ebp

	leal	16(%ebp,%edi,8),%edx
	movl	%edx,_environ
	pushl	%edx
	leal	8(%ebp),%esi
	pushl	%esi
	movl	(%ebp),%edi
	pushl	%edi

	call 	main
	movl	%eax,%edi
	jmp	exit