OSDN Git Service

* config/i386/freebsd-aout.h (NO_PROFILE_COUNTERS): New macro.
[pf3gnuchains/gcc-fork.git] / gcc / config / rs6000 / eabi-cn.asm
1 /* crtn.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, 59 Temple Place - Suite 330,
26 Boston, MA 02111-1307, 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 ending points for the .got* and other
37    special sections.  It is linked in last after other modules.  */
38  
39         .file   "crtn.s"
40         .ident  "GNU C crtn.s"
41
42         .section ".got","aw"
43         .globl  __GOT_END__
44         .type   __GOT_END__,@object
45 __GOT_END__:
46
47         .section ".got1","aw"
48         .globl  __GOT1_END__
49         .type   __GOT1_END__,@object
50 __GOT1_END__:
51
52         .section ".got2","aw"
53         .globl  __GOT2_END__
54         .type   __GOT2_END__,@object
55 __GOT2_END__:
56
57         .section ".fixup","aw"
58         .globl  __FIXUP_END__
59         .type   __FIXUP_END__,@object
60 __FIXUP_END__:
61
62         .section ".ctors","aw"
63         .globl  __CTOR_END__
64         .type   __CTOR_END__,@object
65 __CTOR_END__:
66
67         .section ".dtors","aw"
68         .globl  __DTOR_END__
69         .type   __DTOR_END__,@object
70 __DTOR_END__:
71
72         .section ".sdata","aw"
73         .globl  __SDATA_END__
74         .type   __SDATA_END__,@object
75 __SDATA_END__:
76
77         .section ".sbss","aw",@nobits
78         .globl  __SBSS_END__
79         .type   __SBSS_END__,@object
80 __SBSS_END__:
81
82         .section ".sdata2","a"
83         .globl  __SDATA2_END__
84         .type   __SDATA2_END__,@object
85 __SDATA2_END__:
86
87         .section ".sbss2","a"
88         .globl  __SBSS2_END__
89         .type   __SBSS2_END__,@object
90 __SBSS2_END__:
91
92         .section ".gcc_except_table","aw"
93         .globl  __EXCEPT_END__
94         .type   __EXCEPT_END__,@object
95 __EXCEPT_END__:
96
97         .section ".eh_frame","aw"
98         .globl  __EH_FRAME_END__
99         .type   __EH_FRAME_END__,@object
100 __EH_FRAME_END__:
101         .long   0
102
103 /* Tail of __init function used for static constructors.  */
104         .section ".init","ax"
105         lwz 0,20(1)
106         mtlr 0
107         addi 1,1,16
108         blr
109
110 /* Tail of __fini function used for static destructors.  */
111         .section ".fini","ax"
112         lwz 0,20(1)
113         mtlr 0
114         addi 1,1,16
115         blr