shithub: scc

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