OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [libgcc/] [config/] [or32/] [crti.S] - Blame information for rev 453

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 402 jeremybenn
# Start .init and .fini sections.
2
# Copyright (C) 2010 Embecosm Limited
3
#
4
# This file is free software; you can redistribute it and/or modify it
5
# under the terms of the GNU General Public License as published by
6
# the Free Software Foundation; either version 3, or (at your option)
7
# any later version.
8
#
9
# GCC is distributed in the hope that it will be useful, but WITHOUT ANY
10
# WARRANTY; without even the implied warranty of MERCHANTABILITY or
11
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
12
# for more details.
13
#
14
# Under Section 7 of GPL version 3, you are granted additional
15
# permissions described in the GCC Runtime Library Exception, version
16
# 3.1, as published by the Free Software Foundation.
17
#
18
# You should have received a copy of the GNU General Public License and
19
# a copy of the GCC Runtime Library Exception along with this program;
20
# see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
21
# .
22
 
23
        .section .init
24
        .global __init
25 453 jeremybenn
        l.nop                    # So __init doesn't start at 0
26 402 jeremybenn
__init:
27
        l.addi  r1,r1,-4
28
        l.sw    0(r1),r9
29
 
30
        .section .fini
31
        .global __fini
32
__fini:
33
        l.addi  r1,r1,-4
34
        l.sw    0(r1),r9

powered by: WebSVN 2.1.0

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