source: rtems/c/src/lib/libbsp/m68k/mvme136/startup/linkcmds @ bd9c3d1

4.104.114.84.95
Last change on this file since bd9c3d1 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.3 KB
Line 
1/*
2 *  This file contains directives for the GNU linker which are specific
3 *  to the Motorola MVME136/MVME135 boards.
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 = 0x3000, l = 1M
19        }
20
21SECTIONS
22{
23        .text 0x3000 :
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            _etext = .;
48        }
49        .data ADDR( .text ) + SIZEOF( .text ):
50        {
51            data_start = . ;
52            _data_start = .;
53            *(.data)
54            edata = ALIGN( 0x10 ) ;
55            _edata = .;
56        }
57        .bss ADDR( .data ) + SIZEOF( .data ):
58        {
59            bss_start = . ;
60            _bss_start = . ;
61            *(.bss)
62            *(COMMON)
63            end = . ;
64            _end = . ;
65        }
66}
Note: See TracBrowser for help on using the repository browser.