OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [config/] [sparc/] [sol2-ci.asm] - Blame information for rev 825

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
! 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, 51 Franklin Street, Fifth Floor,
27
! Boston, MA 02110-1301, USA.
28
!
29
!    As a special exception, if you link this library with files
30
!    compiled with GCC to produce an executable, this does not cause
31
!    the resulting executable to be covered by the GNU General Public License.
32
!    This exception does not however invalidate any other reasons why
33
!    the executable file might be covered by the GNU General Public License.
34
!
35
 
36
! This file just make a stack frame for the contents of the .fini and
37
! .init sections.  Users may put any desired instructions in those
38
! sections.
39
 
40
! This file is linked in before the Values-Xx.o files and also before
41
! crtbegin, with which perhaps it should be merged.
42
 
43
        .file           "crti.s"
44
 
45
        .section        ".init"
46
        .proc   022
47
        .global _init
48
        .type   _init,#function
49
        .align  4
50
_init:
51
#ifdef __sparcv9
52
        save    %sp, -176, %sp
53
#else
54
        save    %sp, -96, %sp
55
#endif
56
 
57
 
58
        .section        ".fini"
59
        .proc   022
60
        .global _fini
61
        .type   _fini,#function
62
        .align  4
63
_fini:
64
#ifdef __sparcv9
65
        save    %sp, -176, %sp
66
#else
67
        save    %sp, -96, %sp
68
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.