shithub: scc

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