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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [lib/] [libbsp/] [no_cpu/] [no_bsp/] [startup/] [linkcmds] - Blame information for rev 214

Go to most recent revision | 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 2001-09-27 12:00:27 chris Exp $
13
 */
14
 
15
MEMORY
16
        {
17
        ram : org = 0x0, l = 1M
18
        }
19
 
20
SECTIONS
21
{
22
        .text 0x0 :
23
        {
24
        text_start = . ;
25
        _text_start = . ;
26
        *(.text)
27
        . = ALIGN (16);
28
 
29
        *(.eh_fram)
30
        . = ALIGN (16);
31
 
32
        /*
33
         * C++ constructors
34
         */
35
        __CTOR_LIST__ = .;
36
        LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
37
        *(.ctors)
38
        LONG(0)
39
        __CTOR_END__ = .;
40
        __DTOR_LIST__ = .;
41
        LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
42
        *(.dtors)
43
        LONG(0)
44
        __DTOR_END__ = .;
45
        _etext = ALIGN( 0x10 ) ;
46
        }
47
        .data ADDR( .text ) + SIZEOF( .text ):
48
        {
49
        data_start = . ;
50
        _data_start = . ;
51
        *(.data)
52
        _edata = ALIGN( 0x10 ) ;
53
        }
54
        .bss ADDR( .data ) + SIZEOF( .data ):
55
        {
56
        bss_start = . ;
57
        _bss_start = . ;
58
        *(.bss)
59
        *(COMMON)
60
        end = . ;
61
        __end = . ;
62
        }
63
}

powered by: WebSVN 2.1.0

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