OSDN Git Service

entered into RCS
[pf3gnuchains/gcc-fork.git] / gcc / config / sparc / sol2-ci.asm
1 ! crti.s for solaris 2.0.
2
3 !   Copyright (C) 1992 Free Software Foundation, Inc.
4 !   Written By David Vinayak Henkel-Wallace, June 1992
5
6 ! This file is free software; you can redistribute it and/or modify it
7 ! under the terms of the GNU General Public License as published by the
8 ! Free Software Foundation; either version 2, or (at your option) any
9 ! later version.
10
11 ! In addition to the permissions in the GNU General Public License, the
12 ! Free Software Foundation gives you unlimited permission to link the
13 ! compiled version of this file with other programs, and to distribute
14 ! those programs without any restriction coming from the use of this
15 ! file.  (The General Public License restrictions do apply in other
16 ! respects; for example, they cover modification of the file, and
17 ! distribution when not linked into another program.)
18
19 ! This file is distributed in the hope that it will be useful, but
20 ! WITHOUT ANY WARRANTY; without even the implied warranty of
21 ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
22 ! General Public License for more details.
23
24 ! You should have received a copy of the GNU General Public License
25 ! along with this program; see the file COPYING.  If not, write to
26 ! the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
27
28 !    As a special exception, if you link this library with files
29 !    compiled with GCC to produce an executable, this does not cause
30 !    the resulting executable to be covered by the GNU General Public License.
31 !    This exception does not however invalidate any other reasons why
32 !    the executable file might be covered by the GNU General Public License.
33
34
35 ! This file just make a stack frame for the contents of the .fini and
36 ! .init sections.  Users may put any desired instructions in those
37 ! sections.
38
39 ! This file is linked in before the Values-Xx.o files and also before
40 ! crtbegin, with which perhaps it should be merged.
41  
42         .file           "crti.s"
43
44         .section        ".init"
45         .proc   022
46         .global _init
47         .type   _init,#function
48         .align  4
49 _init:
50         save    %sp, -96, %sp
51
52
53         .section        ".fini"
54         .proc   022
55         .global _fini
56         .type   _fini,#function
57         .align  4
58 _fini:
59         save    %sp, -96, %sp