usr/src/lib/libc/amd64/gen/alloca.s
changeset 7298 b69e27387f74
parent 0 68f95e015346
equal deleted inserted replaced
7297:e4b614b9dc04 7298:b69e27387f74
     1 /*
     1 /*
     2  * CDDL HEADER START
     2  * CDDL HEADER START
     3  *
     3  *
     4  * The contents of this file are subject to the terms of the
     4  * The contents of this file are subject to the terms of the
     5  * Common Development and Distribution License, Version 1.0 only
     5  * Common Development and Distribution License (the "License").
     6  * (the "License").  You may not use this file except in compliance
     6  * You may not use this file except in compliance with the License.
     7  * with the License.
       
     8  *
     7  *
     9  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
     8  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
    10  * or http://www.opensolaris.org/os/licensing.
     9  * or http://www.opensolaris.org/os/licensing.
    11  * See the License for the specific language governing permissions
    10  * See the License for the specific language governing permissions
    12  * and limitations under the License.
    11  * and limitations under the License.
    22 /*
    21 /*
    23  * Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
    22  * Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
    24  * Use is subject to license terms.
    23  * Use is subject to license terms.
    25  */
    24  */
    26 
    25 
    27 	.ident	"%Z%%M%	%I%	%E% SMI"
    26 	.file	"alloca.s"
    28 
       
    29 	.file	"%M%"
       
    30 
    27 
    31 #include "SYS.h"
    28 #include "SYS.h"
    32 
    29 
    33 	ENTRY(__builtin_alloca)
    30 	ENTRY(__builtin_alloca)
    34 	popq	%rcx			/* grab our return address */
    31 	popq	%rcx			/* grab our return address */