]>
Commit | Line | Data |
---|---|---|
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 | ||
8 | This file is part of GCC. | |
9 | ||
10 | GCC is free software; you can redistribute it and/or modify it under | |
11 | the terms of the GNU General Public License as published by the Free | |
12 | Software Foundation; either version 3, or (at your option) any later | |
13 | version. | |
14 | ||
15 | GCC is distributed in the hope that it will be useful, but WITHOUT ANY | |
16 | WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
17 | FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
18 | for more details. | |
19 | ||
20 | Under Section 7 of GPL version 3, you are granted additional | |
21 | permissions described in the GCC Runtime Library Exception, version | |
22 | 3.1, as published by the Free Software Foundation. | |
23 | ||
24 | You should have received a copy of the GNU General Public License and | |
25 | a copy of the GCC Runtime Library Exception along with this program; | |
26 | see 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] |