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

Subversion Repositories openrisc_me

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 400 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 453 jeremybenn
# This is not needed in Linux, and probably not needed in ELF, but left here
24
# until we've checked it out.
25 400 jeremybenn
        .section .init
26
        .global __init
27 453 jeremybenn
        l.nop                    # So __init doesn't start at 0
28 400 jeremybenn
__init:
29
        l.addi  r1,r1,-4
30
        l.sw    0(r1),r9
31
 
32
        .section .fini
33
        .global __fini
34
__fini:
35
        l.addi  r1,r1,-4
36
        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.