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

4.104.114.84.95
Last change on this file since 60b791ad was 60b791ad, checked in by Joel Sherrill <joel.sherrill@…>, on 02/17/98 at 23:46:28

updated copyright to 1998

  • Property mode set to 100644
File size: 1.1 KB
Line 
1/*
2 *  This file contains directives for the GNU linker which are specific
3 *  to the FORCE CPU386 board.
4 *
5 *  COPYRIGHT (c) 1989-1998.
6 *  On-Line Applications Research Corporation (OAR).
7 *  Copyright assigned to U.S. Government, 1994.
8 *
9 *  The license and distribution terms for this file may be
10 *  found in the file LICENSE in this distribution or at
11 *  http://www.OARcorp.com/rtems/license.html.
12 *
13 *  $Id$
14 */
15
16MEMORY
17        {
18        ram : org = 0x0, l = 1M
19        }
20
21SECTIONS
22{
23        .text 0x0 :
24        {
25        text_start = . ;
26        _text_start = . ;
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        }
48        .data ADDR( .text ) + SIZEOF( .text ):
49        {
50        data_start = . ;
51        _data_start = . ;
52        *(.data)
53        _edata = ALIGN( 0x10 ) ;
54        }
55        .bss ADDR( .data ) + SIZEOF( .data ):
56        {
57        bss_start = . ;
58        _bss_start = . ;
59        *(.bss)
60        *(COMMON)
61        end = . ;
62        __end = . ;
63        }
64}
Note: See TracBrowser for help on using the repository browser.