shithub: scc

ref: a73645af515b2acd8071837597a4a18b649ee9be
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