xref: /original-bsd/lib/libc/i386/sys/execv.s (revision e59fb703)
1/*-
2 * Copyright (c) 1990 The Regents of the University of California.
3 * All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * William Jolitz.
7 *
8 * %sccs.include.redist.c%
9 */
10
11#if defined(SYSLIBC_SCCS) && !defined(lint)
12	.asciz "@(#)execv.s	5.1 (Berkeley) 04/23/90"
13#endif /* SYSLIBC_SCCS and not lint */
14
15#include "SYS.h"
16
17ENTRY(execv)
18	.globl	_environ
19	pushl	_environ
20	movl	8+4(%esp),%eax
21	pushl	%eax
22	movl	4+8(%esp),%eax
23	pushl	%eax
24	call	_execve
25	addl	$12,%esp
26	ret			/* execv(file, argv); */
27