shithub: scc

ref: 61d8ab34d1ccd7ffdc3fd0e3fe73bf1a87bf0af6
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