xref: /netbsd-src/external/gpl3/gcc/dist/libgcc/config/arc/crti.S (revision 7863ba460b0a05b553c754e5dbc29247dddec322)
1/* .fini/.init stack frame setup for the Synopsys DesignWare ARC CPU.
2
3   Copyright (C) 1994-2016 Free Software Foundation, Inc.
4   Contributor: Joern Rennecke <joern.rennecke@embecosm.com>
5		on behalf of Synopsys Inc.
6
7This file is part of GCC.
8
9GCC is free software; you can redistribute it and/or modify it under
10the terms of the GNU General Public License as published by the Free
11Software Foundation; either version 3, or (at your option) any later
12version.
13
14GCC is distributed in the hope that it will be useful, but WITHOUT ANY
15WARRANTY; without even the implied warranty of MERCHANTABILITY or
16FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
17for more details.
18
19Under Section 7 of GPL version 3, you are granted additional
20permissions described in the GCC Runtime Library Exception, version
213.1, as published by the Free Software Foundation.
22
23You should have received a copy of the GNU General Public License and
24a copy of the GCC Runtime Library Exception along with this program;
25see 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	.section .init
32	.global _init
33	.word 0
34_init:
35	push_s	blink
36
37	.section .fini
38	.global _fini
39	.word 0
40_fini:
41	push_s	blink
42