xref: /csrg-svn/lib/libc/tahoe/sys/execv.s (revision 34389)
129452Ssam/*
229452Ssam * Copyright (c) 1983 Regents of the University of California.
3*34389Sbostic * All rights reserved.
4*34389Sbostic *
5*34389Sbostic * Redistribution and use in source and binary forms are permitted
6*34389Sbostic * provided that this notice is preserved and that due credit is given
7*34389Sbostic * to the University of California at Berkeley. The name of the University
8*34389Sbostic * may not be used to endorse or promote products derived from this
9*34389Sbostic * software without specific written prior permission. This software
10*34389Sbostic * is provided ``as is'' without express or implied warranty.
1129452Ssam */
1229452Ssam
13*34389Sbostic#if defined(SYSLIBC_SCCS) && !defined(lint)
14*34389Sbostic_sccsid:.asciz	"@(#)execv.s	5.2 (Berkeley) 05/20/88"
15*34389Sbostic#endif /* SYSLIBC_SCCS and not lint */
1629452Ssam
1729452Ssam#include "SYS.h"
1829452Ssam
1929452SsamENTRY(execv)
2029452Ssam	.globl	_environ
2129452Ssam	pushl	_environ
2229452Ssam	pushl	8(fp)
2329452Ssam	pushl	4(fp)
2429452Ssam	calls	$16,_execve
2529452Ssam	ret			# execv(file, argv)
26