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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [config/] [mt/] [crti.asm] - Blame information for rev 858

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
# crti.asm for mt
2
#
3
#   Copyright (C) 2005 Free Software Foundation, Inc.
4
#
5
# This file 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 with other programs, and to distribute
13
# those programs without any restriction coming from the use of this
14
# file.  (The General Public License restrictions do apply in other
15
# respects; for example, they cover modification of the file, and
16
# distribution when not linked into another program.)
17
#
18
# This file is distributed in the hope that it will be useful, but
19
# WITHOUT ANY WARRANTY; without even the implied warranty of
20
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
21
# General Public License for more details.
22
#
23
# You should have received a copy of the GNU General Public License
24
# along with GCC; see the file COPYING.  If not, write to the Free
25
# Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
26
# 02110-1301, USA.
27
#
28
#    As a special exception, if you link this library with files
29
#    compiled with GCC to produce an executable, this does not cause
30
#    the resulting executable to be covered by the GNU General Public License.
31
#    This exception does not however invalidate any other reasons why
32
#    the executable file might be covered by the GNU General Public License.
33
#
34
 
35
# This file just make a stack frame for the contents of the .fini and
36
# .init sections.  Users may put any desired instructions in those
37
# sections.
38
 
39
        .file           "crti.asm"
40
 
41
        .section        ".init"
42
        .global _init
43
        .type   _init,#function
44
        .align  4
45
_init:
46
        subi    sp, sp, #4
47
        stw     r14, sp, #0
48
        or      r0, r0, r0
49
        or      r0, r0, r0
50
        or      r0, r0, r0
51
        or      r0, r0, r0
52
        or      r0, r0, r0
53
        or      r0, r0, r0
54
        or      r0, r0, r0
55
        or      r0, r0, r0
56
 
57
        .section        ".fini"
58
        .global _fini
59
        .type   _fini,#function
60
        .align  4
61
_fini:
62
        subi    sp, sp, #4
63
        stw     r14, sp, #0
64
        or      r0, r0, r0
65
        or      r0, r0, r0
66
        or      r0, r0, r0
67
        or      r0, r0, r0
68
        or      r0, r0, r0
69
        or      r0, r0, r0
70
        or      r0, r0, r0
71
        or      r0, r0, r0

powered by: WebSVN 2.1.0

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