shithub: scc

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

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

	.text
	.global	start
_start:
	movl	%esp,%ebp

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

	call 	main
	movl	%eax,%edi
	jmp	exit