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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [lib/] [libbsp/] [or1k/] [bender/] [startup/] [linkcmds] - Blame information for rev 173

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
/*
2
 *  This file contains directives for the GNU linker which are specific
3
 *  to the NO_CPU NO_BSP BOARD.
4
 *
5
 *  COPYRIGHT (c) 1989-1999.
6
 *  On-Line Applications Research Corporation (OAR).
7
 *
8
 *  The license and distribution terms for this file may be
9
 *  found in the file LICENSE in this distribution or at
10
 *  http://www.OARcorp.com/rtems/license.html.
11
 *
12
 *  $Id: linkcmds,v 1.2 2002-08-07 01:06:05 ivang Exp $
13
 */
14
 
15
MEMORY
16
        {
17
            flash : org = 0x00000000, l = 2M
18
            ram   : org = 0x10000000, l = 32M
19
        }
20
 
21
SECTIONS
22
{
23
    .text : AT (0x0) {
24
        text_start = . ;
25
        _text_start = . ;
26
 
27
        *(.text)
28
        . = ALIGN (16);
29
 
30
        *(.eh_fram)
31
        . = ALIGN (16);
32
 
33
        /*
34
         * C++ constructors
35
         */
36
        __CTOR_LIST__ = .;
37
        LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
38
        *(.ctors)
39
        LONG(0)
40
        __CTOR_END__ = .;
41
        __DTOR_LIST__ = .;
42
        LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
43
        *(.dtors)
44
        LONG(0)
45
        __DTOR_END__ = .;
46
        _etext = ALIGN( 0x10 ) ;
47
        . = ALIGN( 0x10) ;
48
    } > flash
49
 
50
    .data : AT ( ADDR(.text) + SIZEOF(.text) ) {
51
        data_start = . ;
52
        _data_start = . ;
53
 
54
        *(.data)
55
 
56
        _edata = ALIGN( 0x10 );
57
        . = ALIGN (0x10);
58
    } > ram
59
 
60
    .bss : AT ( ADDR(.text) + SIZEOF(.text) + SIZEOF(.data) ) {
61
        bss_start = .;
62
        _bss_start = .;
63
 
64
        *(.bss)
65
        *(COMMON)
66
 
67
        end = ALIGN( 0x10 );
68
        __end = ALIGN( 0x10 );
69
        . = ALIGN (0x10);
70
    } > ram
71
 
72
}

powered by: WebSVN 2.1.0

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