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

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [config/] [rs6000/] [eabi-ci.asm] - Blame information for rev 12

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 12 jlechner
/* crti.s for eabi
2
   Copyright (C) 1996, 2000 Free Software Foundation, Inc.
3
   Written By Michael Meissner
4
 
5
This file is free software; you can redistribute it and/or modify it
6
under the terms of the GNU General Public License as published by the
7
Free Software Foundation; either version 2, or (at your option) any
8
later version.
9
 
10
In addition to the permissions in the GNU General Public License, the
11
Free Software Foundation gives you unlimited permission to link the
12
compiled version of this file with other programs, and to distribute
13
those programs without any restriction coming from the use of this
14
file.  (The General Public License restrictions do apply in other
15
respects; for example, they cover modification of the file, and
16
distribution when not linked into another program.)
17
 
18
This file is distributed in the hope that it will be useful, but
19
WITHOUT ANY WARRANTY; without even the implied warranty of
20
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
21
General Public License for more details.
22
 
23
You should have received a copy of the GNU General Public License
24
along with this program; see the file COPYING.  If not, write to
25
the Free Software Foundation, 51 Franklin Street, Fifth Floor,
26
Boston, MA 02110-1301, 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
 
36
/* This file just supplies labeled starting points for the .got* and other
37
   special sections.  It is linked in first before other modules.  */
38
 
39
        .file   "crti.s"
40
        .ident  "GNU C crti.s"
41
 
42
#include 
43
 
44
#ifndef __powerpc64__
45
        .section ".got","aw"
46
        .globl  __GOT_START__
47
        .type   __GOT_START__,@object
48
__GOT_START__:
49
 
50
        .section ".got1","aw"
51
        .globl  __GOT1_START__
52
        .type   __GOT1_START__,@object
53
__GOT1_START__:
54
 
55
        .section ".got2","aw"
56
        .globl  __GOT2_START__
57
        .type   __GOT2_START__,@object
58
__GOT2_START__:
59
 
60
        .section ".fixup","aw"
61
        .globl  __FIXUP_START__
62
        .type   __FIXUP_START__,@object
63
__FIXUP_START__:
64
 
65
        .section ".ctors","aw"
66
        .globl  __CTOR_LIST__
67
        .type   __CTOR_LIST__,@object
68
__CTOR_LIST__:
69
 
70
        .section ".dtors","aw"
71
        .globl  __DTOR_LIST__
72
        .type   __DTOR_LIST__,@object
73
__DTOR_LIST__:
74
 
75
        .section ".sdata","aw"
76
        .globl  __SDATA_START__
77
        .type   __SDATA_START__,@object
78
        .weak   _SDA_BASE_
79
        .type   _SDA_BASE_,@object
80
__SDATA_START__:
81
_SDA_BASE_:
82
 
83
        .section ".sbss","aw",@nobits
84
        .globl  __SBSS_START__
85
        .type   __SBSS_START__,@object
86
__SBSS_START__:
87
 
88
        .section ".sdata2","a"
89
        .weak   _SDA2_BASE_
90
        .type   _SDA2_BASE_,@object
91
        .globl  __SDATA2_START__
92
        .type   __SDATA2_START__,@object
93
__SDATA2_START__:
94
_SDA2_BASE_:
95
 
96
        .section ".sbss2","a"
97
        .globl  __SBSS2_START__
98
        .type   __SBSS2_START__,@object
99
__SBSS2_START__:
100
 
101
        .section ".gcc_except_table","aw"
102
        .globl  __EXCEPT_START__
103
        .type   __EXCEPT_START__,@object
104
__EXCEPT_START__:
105
 
106
        .section ".eh_frame","aw"
107
        .globl  __EH_FRAME_BEGIN__
108
        .type   __EH_FRAME_BEGIN__,@object
109
__EH_FRAME_BEGIN__:
110
 
111
/* Head of __init function used for static constructors.  */
112
        .section ".init","ax"
113
        .align 2
114
FUNC_START(__init)
115
        stwu 1,-16(1)
116
        mflr 0
117
        stw 0,20(1)
118
 
119
/* Head of __fini function used for static destructors.  */
120
        .section ".fini","ax"
121
        .align 2
122
FUNC_START(__fini)
123
        stwu 1,-16(1)
124
        mflr 0
125
        stw 0,20(1)
126
#endif

powered by: WebSVN 2.1.0

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