]> git.ipfire.org Git - thirdparty/gcc.git/blob - libgcc/config/arc/crti.S
Update copyright years.
[thirdparty/gcc.git] / libgcc / config / arc / crti.S
1 /* .fini/.init stack frame setup for the Synopsys DesignWare ARC CPU.
2
3 Copyright (C) 1994-2023 Free Software Foundation, Inc.
4 Contributor: Joern Rennecke <joern.rennecke@embecosm.com>
5 on behalf of Synopsys Inc.
6
7 This file is part of GCC.
8
9 GCC is free software; you can redistribute it and/or modify it under
10 the terms of the GNU General Public License as published by the Free
11 Software Foundation; either version 3, or (at your option) any later
12 version.
13
14 GCC is distributed in the hope that it will be useful, but WITHOUT ANY
15 WARRANTY; without even the implied warranty of MERCHANTABILITY or
16 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
17 for more details.
18
19 Under Section 7 of GPL version 3, you are granted additional
20 permissions described in the GCC Runtime Library Exception, version
21 3.1, as published by the Free Software Foundation.
22
23 You should have received a copy of the GNU General Public License and
24 a copy of the GCC Runtime Library Exception along with this program;
25 see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
26 <http://www.gnu.org/licenses/>. */
27
28 # This file contains the stack frame setup for contents of the .fini and
29 # .init sections.
30
31 #ifdef __ARC_RF16__
32 /* Use object attributes to inform other tools this file is
33 safe for RF16 configuration. */
34 .arc_attribute Tag_ARC_ABI_rf16, 1
35 #endif
36 .section .init
37 .global _init
38 .word 0
39 .type _init,@function
40 _init:
41 push_s blink
42
43 .section .fini
44 .global _fini
45 .word 0
46 .type _fini,@function
47 _fini:
48 push_s blink