shithub: scc

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

View raw version
	.globl	_environ
	.comm	_environ,4,4

	.globl	_start
	.text
_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