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

4.104.114.84.95
Last change on this file since d2a05e7 was 08311cc3, checked in by Joel Sherrill <joel.sherrill@…>, on 11/17/99 at 17:51:34

Updated copyright notice.

  • 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 Motorola MVME136/MVME135 boards.
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
15StackSize = DEFINED(StackSize) ? StackSize : 0x1000;
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 : {
50            data_start = . ;
51            _data_start = .;
52            *(.data)
53            edata = ALIGN( 0x10 ) ;
54            _edata = .;
55        }
56        .bss : {
57            bss_start = . ;
58            _bss_start = . ;
59            *(.bss)
60            *(COMMON)
61                . += StackSize; /* XXX -- Old gld can't handle this */
62                . = ALIGN (16);
63                stack_init = .;
64            end = . ;
65            _end = . ;
66        }
67}
Note: See TracBrowser for help on using the repository browser.