annotate libgcc/config/arc/crti.S @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +0900
parents 1830386684a0
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 /* .fini/.init stack frame setup for the Synopsys DesignWare ARC CPU.
kono
parents:
diff changeset
2
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
3 Copyright (C) 1994-2020 Free Software Foundation, Inc.
111
kono
parents:
diff changeset
4 Contributor: Joern Rennecke <joern.rennecke@embecosm.com>
kono
parents:
diff changeset
5 on behalf of Synopsys Inc.
kono
parents:
diff changeset
6
kono
parents:
diff changeset
7 This file is part of GCC.
kono
parents:
diff changeset
8
kono
parents:
diff changeset
9 GCC is free software; you can redistribute it and/or modify it under
kono
parents:
diff changeset
10 the terms of the GNU General Public License as published by the Free
kono
parents:
diff changeset
11 Software Foundation; either version 3, or (at your option) any later
kono
parents:
diff changeset
12 version.
kono
parents:
diff changeset
13
kono
parents:
diff changeset
14 GCC is distributed in the hope that it will be useful, but WITHOUT ANY
kono
parents:
diff changeset
15 WARRANTY; without even the implied warranty of MERCHANTABILITY or
kono
parents:
diff changeset
16 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
kono
parents:
diff changeset
17 for more details.
kono
parents:
diff changeset
18
kono
parents:
diff changeset
19 Under Section 7 of GPL version 3, you are granted additional
kono
parents:
diff changeset
20 permissions described in the GCC Runtime Library Exception, version
kono
parents:
diff changeset
21 3.1, as published by the Free Software Foundation.
kono
parents:
diff changeset
22
kono
parents:
diff changeset
23 You should have received a copy of the GNU General Public License and
kono
parents:
diff changeset
24 a copy of the GCC Runtime Library Exception along with this program;
kono
parents:
diff changeset
25 see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
kono
parents:
diff changeset
26 <http://www.gnu.org/licenses/>. */
kono
parents:
diff changeset
27
kono
parents:
diff changeset
28 # This file contains the stack frame setup for contents of the .fini and
kono
parents:
diff changeset
29 # .init sections.
kono
parents:
diff changeset
30
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
31 #ifdef __ARC_RF16__
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
32 /* Use object attributes to inform other tools this file is
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
33 safe for RF16 configuration. */
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
34 .arc_attribute Tag_ARC_ABI_rf16, 1
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
35 #endif
111
kono
parents:
diff changeset
36 .section .init
kono
parents:
diff changeset
37 .global _init
kono
parents:
diff changeset
38 .word 0
kono
parents:
diff changeset
39 .type _init,@function
kono
parents:
diff changeset
40 _init:
kono
parents:
diff changeset
41 push_s blink
kono
parents:
diff changeset
42
kono
parents:
diff changeset
43 .section .fini
kono
parents:
diff changeset
44 .global _fini
kono
parents:
diff changeset
45 .word 0
kono
parents:
diff changeset
46 .type _fini,@function
kono
parents:
diff changeset
47 _fini:
kono
parents:
diff changeset
48 push_s blink