comparison gcc/config/rs6000/eabi-cn.asm @ 0:a06113de4d67

first commit
author kent <kent@cr.ie.u-ryukyu.ac.jp>
date Fri, 17 Jul 2009 14:47:48 +0900
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:a06113de4d67
1 /* crtn.s for eabi
2 Copyright (C) 1996, 2000, 2007, 2008, 2009 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 3, or (at your option) any
8 later version.
9
10 This file is distributed in the hope that it will be useful, but
11 WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 General Public License for more details.
14
15 Under Section 7 of GPL version 3, you are granted additional
16 permissions described in the GCC Runtime Library Exception, version
17 3.1, as published by the Free Software Foundation.
18
19 You should have received a copy of the GNU General Public License and
20 a copy of the GCC Runtime Library Exception along with this program;
21 see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
22 <http://www.gnu.org/licenses/>. */
23
24 /* This file just supplies labeled ending points for the .got* and other
25 special sections. It is linked in last after other modules. */
26
27 .ident "GNU C crtn.s"
28
29 #ifndef __powerpc64__
30 .section ".got","aw"
31 .globl __GOT_END__
32 .type __GOT_END__,@object
33 __GOT_END__:
34
35 .section ".got1","aw"
36 .globl __GOT1_END__
37 .type __GOT1_END__,@object
38 __GOT1_END__:
39
40 .section ".got2","aw"
41 .globl __GOT2_END__
42 .type __GOT2_END__,@object
43 __GOT2_END__:
44
45 .section ".fixup","aw"
46 .globl __FIXUP_END__
47 .type __FIXUP_END__,@object
48 __FIXUP_END__:
49
50 .section ".ctors","aw"
51 .globl __CTOR_END__
52 .type __CTOR_END__,@object
53 __CTOR_END__:
54
55 .section ".dtors","aw"
56 .weak __DTOR_END__
57 .type __DTOR_END__,@object
58 __DTOR_END__:
59
60 .section ".sdata","aw"
61 .globl __SDATA_END__
62 .type __SDATA_END__,@object
63 __SDATA_END__:
64
65 .section ".sbss","aw",@nobits
66 .globl __SBSS_END__
67 .type __SBSS_END__,@object
68 __SBSS_END__:
69
70 .section ".sdata2","a"
71 .globl __SDATA2_END__
72 .type __SDATA2_END__,@object
73 __SDATA2_END__:
74
75 .section ".sbss2","a"
76 .globl __SBSS2_END__
77 .type __SBSS2_END__,@object
78 __SBSS2_END__:
79
80 .section ".gcc_except_table","aw"
81 .globl __EXCEPT_END__
82 .type __EXCEPT_END__,@object
83 __EXCEPT_END__:
84
85 .section ".eh_frame","aw"
86 .globl __EH_FRAME_END__
87 .type __EH_FRAME_END__,@object
88 __EH_FRAME_END__:
89 .long 0
90
91 /* Tail of __init function used for static constructors. */
92 .section ".init","ax"
93 lwz 0,20(1)
94 mtlr 0
95 addi 1,1,16
96 blr
97
98 /* Tail of __fini function used for static destructors. */
99 .section ".fini","ax"
100 lwz 0,20(1)
101 mtlr 0
102 addi 1,1,16
103 blr
104 #endif