2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / config / h8300 / crtn.asm
blob5b7a1c05a16c21ba1d686f400fca06bf8ccfb2a9
1 /* Copyright (C) 2001 Free Software Foundation, Inc.
2 This file was adapted from glibc sources.
4 This file is part of GCC.
6 GCC is free software; you can redistribute it and/or modify it
7 under the terms of the GNU General Public License as published by the
8 Free Software Foundation; either version 2, or (at your option) any
9 later version.
11 In addition to the permissions in the GNU General Public License, the
12 Free Software Foundation gives you unlimited permission to link the
13 compiled version of this file into combinations with other programs,
14 and to distribute those combinations without any restriction coming
15 from the use of this file. (The General Public License restrictions
16 do apply in other respects; for example, they cover modification of
17 the file, and distribution when not linked into a combine
18 executable.)
20 GCC is distributed in the hope that it will be useful,
21 but WITHOUT ANY WARRANTY; without even the implied warranty of
22 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
23 General Public License for more details.
25 You should have received a copy of the GNU General Public License
26 along with this program; see the file COPYING. If not, write to
27 the Free Software Foundation, 59 Temple Place - Suite 330,
28 Boston, MA 02111-1307, USA. */
30 /* See an explanation about .init and .fini in crti.asm. */
32 #ifdef __H8300H__
33 #ifdef __NORMAL_MODE__
34 .h8300hn
35 #else
36 .h8300h
37 #endif
38 #endif
40 #ifdef __H8300S__
41 #ifdef __NORMAL_MODE__
42 .h8300sn
43 #else
44 .h8300s
45 #endif
46 #endif
47 .section .init
48 rts
50 .section .fini
51 rts