150397Sobrien! crti.s for solaris 2.0.
250397Sobrien
350397Sobrien!   Copyright (C) 1992 Free Software Foundation, Inc.
450397Sobrien!   Written By David Vinayak Henkel-Wallace, June 1992
550397Sobrien! 
650397Sobrien! This file is free software; you can redistribute it and/or modify it
750397Sobrien! under the terms of the GNU General Public License as published by the
850397Sobrien! Free Software Foundation; either version 2, or (at your option) any
950397Sobrien! later version.
1050397Sobrien! 
1150397Sobrien! In addition to the permissions in the GNU General Public License, the
1250397Sobrien! Free Software Foundation gives you unlimited permission to link the
1350397Sobrien! compiled version of this file with other programs, and to distribute
1450397Sobrien! those programs without any restriction coming from the use of this
1550397Sobrien! file.  (The General Public License restrictions do apply in other
1650397Sobrien! respects; for example, they cover modification of the file, and
1750397Sobrien! distribution when not linked into another program.)
1850397Sobrien! 
1950397Sobrien! This file is distributed in the hope that it will be useful, but
2050397Sobrien! WITHOUT ANY WARRANTY; without even the implied warranty of
2150397Sobrien! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
2250397Sobrien! General Public License for more details.
2350397Sobrien! 
2450397Sobrien! You should have received a copy of the GNU General Public License
2550397Sobrien! along with this program; see the file COPYING.  If not, write to
26169689Skan! the Free Software Foundation, 51 Franklin Street, Fifth Floor,
27169689Skan! Boston, MA 02110-1301, USA.
2850397Sobrien! 
2950397Sobrien!    As a special exception, if you link this library with files
3050397Sobrien!    compiled with GCC to produce an executable, this does not cause
3150397Sobrien!    the resulting executable to be covered by the GNU General Public License.
3250397Sobrien!    This exception does not however invalidate any other reasons why
3350397Sobrien!    the executable file might be covered by the GNU General Public License.
3450397Sobrien! 
3550397Sobrien
3650397Sobrien! This file just make a stack frame for the contents of the .fini and
3750397Sobrien! .init sections.  Users may put any desired instructions in those
3850397Sobrien! sections.
3950397Sobrien
4050397Sobrien! This file is linked in before the Values-Xx.o files and also before
4150397Sobrien! crtbegin, with which perhaps it should be merged.
4250397Sobrien 
4350397Sobrien	.file		"crti.s"
4450397Sobrien
4550397Sobrien	.section	".init"
4650397Sobrien	.proc	022
4750397Sobrien	.global	_init
4850397Sobrien	.type	_init,#function
4950397Sobrien	.align	4
5050397Sobrien_init:
5152284Sobrien#ifdef __sparcv9
5252284Sobrien	save	%sp, -176, %sp
5352284Sobrien#else
5450397Sobrien	save	%sp, -96, %sp
5552284Sobrien#endif
5650397Sobrien
5750397Sobrien
5850397Sobrien	.section	".fini"
5950397Sobrien	.proc	022
6050397Sobrien	.global	_fini
6150397Sobrien	.type	_fini,#function
6250397Sobrien	.align	4
6350397Sobrien_fini:
6452284Sobrien#ifdef __sparcv9
6552284Sobrien	save	%sp, -176, %sp
6652284Sobrien#else
6750397Sobrien	save	%sp, -96, %sp
6852284Sobrien#endif
69