]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgcc/config/arc/crtn.S
config.host (arc*-*-elf*, [...]): New configurations.
[thirdparty/gcc.git] / libgcc / config / arc / crtn.S
CommitLineData
d38a64b4
JR
1/* Ensure .fini/.init return for the Synopsys DesignWare ARC CPU.
2
3 Copyright (C) 1994, 1995, 1997, 2004, 2007-2012
4 Free Software Foundation, Inc.
5 Contributor: Joern Rennecke <joern.rennecke@embecosm.com>
6 on behalf of Synopsys Inc.
7
8This file is part of GCC.
9
10GCC is free software; you can redistribute it and/or modify it under
11the terms of the GNU General Public License as published by the Free
12Software Foundation; either version 3, or (at your option) any later
13version.
14
15GCC is distributed in the hope that it will be useful, but WITHOUT ANY
16WARRANTY; without even the implied warranty of MERCHANTABILITY or
17FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
18for more details.
19
20Under Section 7 of GPL version 3, you are granted additional
21permissions described in the GCC Runtime Library Exception, version
223.1, as published by the Free Software Foundation.
23
24You should have received a copy of the GNU General Public License and
25a copy of the GCC Runtime Library Exception along with this program;
26see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
27<http://www.gnu.org/licenses/>. */
28
29# This file just makes sure that the .fini and .init sections do in
30# fact return. This file is the last thing linked into any executable.
31
32 .section .init
33 pop_s blink
34 j_s [blink]
35
36
37 .section .fini
38 pop_s blink
39 j_s [blink]