OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [config/] [h8300/] [crti.asm] - Blame information for rev 154

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
/* Copyright (C) 2001, 2002 Free Software Foundation, Inc.
2
 
3
This file is part of GCC.
4
 
5
GCC is free software; you can redistribute it and/or modify it
6
under the terms of the GNU General Public License as published by the
7
Free Software Foundation; either version 2, or (at your option) any
8
later version.
9
 
10
In addition to the permissions in the GNU General Public License, the
11
Free Software Foundation gives you unlimited permission to link the
12
compiled version of this file into combinations with other programs,
13
and to distribute those combinations without any restriction coming
14
from the use of this file.  (The General Public License restrictions
15
do apply in other respects; for example, they cover modification of
16
the file, and distribution when not linked into a combine
17
executable.)
18
 
19
GCC is distributed in the hope that it will be useful,
20
but WITHOUT ANY WARRANTY; without even the implied warranty of
21
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
22
General Public License for more details.
23
 
24
You should have received a copy of the GNU General Public License
25
along with this program; see the file COPYING.  If not, write to
26
the Free Software Foundation, 51 Franklin Street, Fifth Floor,
27
Boston, MA 02110-1301, USA.  */
28
 
29
/* The code in sections .init and .fini is supposed to be a single
30
   regular function.  The function in .init is called directly from
31
   start in crt0.asm.  The function in .fini is atexit()ed in crt0.asm
32
   too.
33
 
34
   crti.asm contributes the prologue of a function to these sections,
35
   and crtn.asm comes up the epilogue.  STARTFILE_SPEC should list
36
   crti.o before any other object files that might add code to .init
37
   or .fini sections, and ENDFILE_SPEC should list crtn.o after any
38
   such object files.  */
39
 
40
#ifdef __H8300H__
41
#ifdef __NORMAL_MODE__
42
        .h8300hn
43
#else
44
        .h8300h
45
#endif
46
#endif
47
 
48
#ifdef __H8300S__
49
#ifdef __NORMAL_MODE__
50
        .h8300sn
51
#else
52
        .h8300s
53
#endif
54
#endif
55
#ifdef __H8300SX__
56
#ifdef __NORMAL_MODE__
57
        .h8300sxn
58
#else
59
        .h8300sx
60
#endif
61
#endif
62
 
63
        .section .init
64
        .global  __init
65
__init:
66
        .section .fini
67
        .global  __fini
68
__fini:

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.