gimplify: Handle void expression as asm input [PR100501, PR100792]
[gcc.git] / libgcc / config / rs6000 / eabi-cn.S
blob4d5fe655dd4e2306ac8a222a6b97df3a46b72290
1 /* crtn.s for eabi
2    Copyright (C) 1996-2024 Free Software Foundation, Inc.
3    Written By Michael Meissner
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.
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.
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.
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/>.  */
24 /* This file just supplies labeled ending points for the .got* and other
25    special sections.  It is linked in last after other modules.  */
27         .ident  "GNU C crtn.s"
29 #ifndef __powerpc64__
30         .section ".got","aw"
31         .globl  __GOT_END__
32         .type   __GOT_END__,@object
33 __GOT_END__:
35         .section ".got1","aw"
36         .globl  __GOT1_END__
37         .type   __GOT1_END__,@object
38 __GOT1_END__:
40         .section ".got2","aw"
41         .globl  __GOT2_END__
42         .type   __GOT2_END__,@object
43 __GOT2_END__:
45         .section ".fixup","aw"
46         .globl  __FIXUP_END__
47         .type   __FIXUP_END__,@object
48 __FIXUP_END__:
50         .section ".ctors","aw"
51         .globl  __CTOR_END__
52         .type   __CTOR_END__,@object
53 __CTOR_END__:
55         .section ".dtors","aw"
56         .weak   __DTOR_END__
57         .type   __DTOR_END__,@object
58 __DTOR_END__:
60         .section ".sdata","aw"
61         .globl  __SDATA_END__
62         .type   __SDATA_END__,@object
63 __SDATA_END__:
65         .section ".sbss","aw",@nobits
66         .globl  __SBSS_END__
67         .type   __SBSS_END__,@object
68 __SBSS_END__:
70         .section ".sdata2","a"
71         .globl  __SDATA2_END__
72         .type   __SDATA2_END__,@object
73 __SDATA2_END__:
75         .section ".sbss2","a"
76         .globl  __SBSS2_END__
77         .type   __SBSS2_END__,@object
78 __SBSS2_END__:
80         .section ".gcc_except_table","aw"
81         .globl  __EXCEPT_END__
82         .type   __EXCEPT_END__,@object
83 __EXCEPT_END__:
85         .section ".eh_frame","aw"
86         .globl  __EH_FRAME_END__
87         .type   __EH_FRAME_END__,@object
88 __EH_FRAME_END__:
89         .long   0
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
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