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 "@(#)execl.s 5.1 (Berkeley) 04/23/90" 13#endif /* SYSLIBC_SCCS and not lint */ 14 15#include "SYS.h" 16 17ENTRY(execl) 18 lea 8(%esp),%eax 19 pushl %eax 20 movl 4+4(%esp),%eax 21 pushl %eax 22 call _execv 23 addl $8,%esp 24 ret /* execl(file, arg1, arg2, ..., 0); */ 25