xref: /titanic_52/usr/src/lib/crt/sparc/crtn.s (revision 3e0c804466b61d42dc6a3e1cb114c11681ef181a)
1*3e0c8044SRichard Lowe/*
2*3e0c8044SRichard Lowe * CDDL HEADER START
3*3e0c8044SRichard Lowe *
4*3e0c8044SRichard Lowe * The contents of this file are subject to the terms of the
5*3e0c8044SRichard Lowe * Common Development and Distribution License (the "License").
6*3e0c8044SRichard Lowe * You may not use this file except in compliance with the License.
7*3e0c8044SRichard Lowe *
8*3e0c8044SRichard Lowe * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*3e0c8044SRichard Lowe * or http://www.opensolaris.org/os/licensing.
10*3e0c8044SRichard Lowe * See the License for the specific language governing permissions
11*3e0c8044SRichard Lowe * and limitations under the License.
12*3e0c8044SRichard Lowe *
13*3e0c8044SRichard Lowe * When distributing Covered Code, include this CDDL HEADER in each
14*3e0c8044SRichard Lowe * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*3e0c8044SRichard Lowe * If applicable, add the following below this CDDL HEADER, with the
16*3e0c8044SRichard Lowe * fields enclosed by brackets "[]" replaced with your own identifying
17*3e0c8044SRichard Lowe * information: Portions Copyright [yyyy] [name of copyright owner]
18*3e0c8044SRichard Lowe *
19*3e0c8044SRichard Lowe * CDDL HEADER END
20*3e0c8044SRichard Lowe */
21*3e0c8044SRichard Lowe/*
22*3e0c8044SRichard Lowe * Copyright (c) 2001 by Sun Microsystems, Inc.
23*3e0c8044SRichard Lowe * All rights reserved.
24*3e0c8044SRichard Lowe */
25*3e0c8044SRichard Lowe
26*3e0c8044SRichard Lowe/*
27*3e0c8044SRichard Lowe * These crt*.o modules are provided as the bare minimum required
28*3e0c8044SRichard Lowe * from a crt*.o for inclusion in building low level system
29*3e0c8044SRichard Lowe * libraries.  The are only be to included in libraries which
30*3e0c8044SRichard Lowe * contain *no* C++ code and want to avoid the startup code
31*3e0c8044SRichard Lowe * that the C++ runtime has introduced into the crt*.o modules.
32*3e0c8044SRichard Lowe *
33*3e0c8044SRichard Lowe * For further details - see bug#4433015
34*3e0c8044SRichard Lowe */
35*3e0c8044SRichard Lowe
36*3e0c8044SRichard Lowe	.file		"crtn.s"
37*3e0c8044SRichard Lowe
38*3e0c8044SRichard Lowe/*
39*3e0c8044SRichard Lowe * _init function epilogue
40*3e0c8044SRichard Lowe */
41*3e0c8044SRichard Lowe	.section	".init"
42*3e0c8044SRichard Lowe	.align		4
43*3e0c8044SRichard Lowe	ret
44*3e0c8044SRichard Lowe	restore
45*3e0c8044SRichard Lowe
46*3e0c8044SRichard Lowe/*
47*3e0c8044SRichard Lowe * _fini function epilogue
48*3e0c8044SRichard Lowe */
49*3e0c8044SRichard Lowe	.section	".fini"
50*3e0c8044SRichard Lowe	.align		4
51*3e0c8044SRichard Lowe	ret
52*3e0c8044SRichard Lowe	restore
53