xref: /illumos-gate/usr/src/lib/libc/common/sys/execvex.S (revision 2b395c3c2a39cdc00f9fe7ac497795bd112f7663)
1*2b395c3cSAndy Fiddaman/*
2*2b395c3cSAndy Fiddaman * CDDL HEADER START
3*2b395c3cSAndy Fiddaman *
4*2b395c3cSAndy Fiddaman * The contents of this file are subject to the terms of the
5*2b395c3cSAndy Fiddaman * Common Development and Distribution License (the "License").
6*2b395c3cSAndy Fiddaman * You may not use this file except in compliance with the License.
7*2b395c3cSAndy Fiddaman *
8*2b395c3cSAndy Fiddaman * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*2b395c3cSAndy Fiddaman * or http://www.opensolaris.org/os/licensing.
10*2b395c3cSAndy Fiddaman * See the License for the specific language governing permissions
11*2b395c3cSAndy Fiddaman * and limitations under the License.
12*2b395c3cSAndy Fiddaman *
13*2b395c3cSAndy Fiddaman * When distributing Covered Code, include this CDDL HEADER in each
14*2b395c3cSAndy Fiddaman * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*2b395c3cSAndy Fiddaman * If applicable, add the following below this CDDL HEADER, with the
16*2b395c3cSAndy Fiddaman * fields enclosed by brackets "[]" replaced with your own identifying
17*2b395c3cSAndy Fiddaman * information: Portions Copyright [yyyy] [name of copyright owner]
18*2b395c3cSAndy Fiddaman *
19*2b395c3cSAndy Fiddaman * CDDL HEADER END
20*2b395c3cSAndy Fiddaman */
21*2b395c3cSAndy Fiddaman
22*2b395c3cSAndy Fiddaman/*
23*2b395c3cSAndy Fiddaman * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
24*2b395c3cSAndy Fiddaman * Use is subject to license terms.
25*2b395c3cSAndy Fiddaman */
26*2b395c3cSAndy Fiddaman
27*2b395c3cSAndy Fiddaman/*	Copyright (c) 1988 AT&T	*/
28*2b395c3cSAndy Fiddaman/*	  All Rights Reserved	*/
29*2b395c3cSAndy Fiddaman
30*2b395c3cSAndy Fiddaman	.file	"execvex.s"
31*2b395c3cSAndy Fiddaman
32*2b395c3cSAndy Fiddaman/*
33*2b395c3cSAndy Fiddaman * extern int execvex(uintptr_t, char *const *, char *const *, int);
34*2b395c3cSAndy Fiddaman */
35*2b395c3cSAndy Fiddaman
36*2b395c3cSAndy Fiddaman#include <sys/asm_linkage.h>
37*2b395c3cSAndy Fiddaman
38*2b395c3cSAndy Fiddaman	ANSI_PRAGMA_WEAK(execvex,function)
39*2b395c3cSAndy Fiddaman
40*2b395c3cSAndy Fiddaman#include "SYS.h"
41*2b395c3cSAndy Fiddaman
42*2b395c3cSAndy Fiddaman	ENTRY(execvex)
43*2b395c3cSAndy Fiddaman	SYSTRAP_RVAL1(execve)
44*2b395c3cSAndy Fiddaman	SYSCERROR
45*2b395c3cSAndy Fiddaman	SET_SIZE(execvex)
46