1*41848Sbostic/*- 2*41848Sbostic * Copyright (c) 1990 The Regents of the University of California. 3*41848Sbostic * All rights reserved. 4*41848Sbostic * 5*41848Sbostic * This code is derived from software contributed to Berkeley by 6*41848Sbostic * the Systems Programming Group of the University of Utah Computer 7*41848Sbostic * Science Department. 8*41848Sbostic * 9*41848Sbostic * %sccs.include.redist.c% 10*41848Sbostic */ 11*41848Sbostic 12*41848Sbostic#if defined(LIBC_SCCS) && !defined(lint) 13*41848Sbostic .asciz "@(#)execv.s 5.1 (Berkeley) 05/12/90" 14*41848Sbostic#endif /* LIBC_SCCS and not lint */ 15*41848Sbostic 16*41848Sbostic#include "SYS.h" 17*41848Sbostic 18*41848SbosticENTRY(execv) 19*41848Sbostic .globl _environ 20*41848Sbostic lea sp@(4),a0 21*41848Sbostic movl _environ,sp@- 22*41848Sbostic movl a0@(4),sp@- 23*41848Sbostic movl a0@,sp@- 24*41848Sbostic jbsr _execve 25*41848Sbostic addl #12,sp 26*41848Sbostic rts /* execv(file, argv) */ 27