source: rtems/c/src/lib/libbsp/or32/orp/startup/linkcmds @ dcf0c5b8

4.104.114.84.95
Last change on this file since dcf0c5b8 was dcf0c5b8, checked in by Joel Sherrill <joel.sherrill@…>, on Sep 4, 2003 at 6:52:18 PM

2003-09-04 Joel Sherrill <joel@…>

  • clock/clockdrv.c, console/console.c, console/console.h, include/bsp.h, start/start.S, startup/bspclean.c, startup/bspstart.c, startup/linkcmds, startup/setvec.c, timer/timer.c, timer/timerisr.c: URL for license changed.
  • Property mode set to 100644
File size: 1.4 KB
Line 
1/*
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.rtems.com/license/LICENSE.
11 *
12 *  $Id$
13 */
14
15MEMORY
16        {
17            flash : org = 0x00000000, l = 2M
18            ram   : org = 0x10000000, l = 32M
19        }
20
21SECTIONS
22{
23    .text : AT (0x0) {
24        text_start = . ;
25        _text_start = . ;
26       
27        *(.text)
28        . = ALIGN (16);
29       
30        /*
31         * Special FreeBSD sysctl sections.
32         */
33        . = ALIGN (16);
34        __start_set_sysctl_set = .;
35        *(set_sysctl_*);
36        __stop_set_sysctl_set = ABSOLUTE(.);
37        *(set_domain_*);
38        *(set_pseudo_*);
39
40        *(.eh_fram)
41        . = ALIGN (16);
42       
43        /*
44         * C++ constructors
45         */
46        __CTOR_LIST__ = .;
47        LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
48        *(.ctors)
49        LONG(0)
50        __CTOR_END__ = .;
51        __DTOR_LIST__ = .;
52        LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
53        *(.dtors)
54        LONG(0)
55        __DTOR_END__ = .;
56        _etext = ALIGN( 0x10 ) ;
57        . = ALIGN( 0x10) ;
58    } > flash
59   
60    .data : AT ( ADDR(.text) + SIZEOF(.text) ) {
61        data_start = . ;
62        _data_start = . ;
63       
64        *(.data)
65       
66        _edata = ALIGN( 0x10 );
67        . = ALIGN (0x10);
68    } > ram
69   
70    .bss : AT ( ADDR(.text) + SIZEOF(.text) + SIZEOF(.data) ) {
71        bss_start = .;
72        _bss_start = .;
73       
74        *(.bss)
75        *(COMMON)
76       
77        end = ALIGN( 0x10 );
78        __end = ALIGN( 0x10 );
79        . = ALIGN (0x10);
80    } > ram
81   
82}
Note: See TracBrowser for help on using the repository browser.