source: rtems/c/src/lib/libbsp/no_cpu/no_bsp/startup/linkcmds @ f1433c79

Last change on this file since f1433c79 was 9c1133e, checked in by Joel Sherrill <joel.sherrill@…>, on 01/20/03 at 19:57:14

mkChangeLogList [-n]

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