source: rtems/c/src/lib/libbsp/m68k/mvme147/startup/linkcmds @ 69537ca9

4.104.114.84.95
Last change on this file since 69537ca9 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.5 KB
Line 
1/*
2 *  This file contains directives for the GNU linker which are specific
3 *  to the Motorola MVME147 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 *  MVME147 port for TNI - Telecom Bretagne
13 *  by Dominique LE CAMPION (Dominique.LECAMPION@enst-bretagne.fr)
14 *  May 1996
15 *
16 *  $Id$
17 */
18
19StackSize = DEFINED(StackSize) ? StackSize : 0x1000;
20
21MEMORY
22        {
23        ram : org = 0x5000, l = 0x3fafff
24        }
25
26SECTIONS
27{
28        .text 0x5000 :
29        {
30            text_start = . ;
31            _text_start = . ;
32            *(.text)
33            . = ALIGN (16);
34
35            *(.eh_fram)
36            . = ALIGN (16);
37
38            /*
39             * C++ constructors
40             */
41            __CTOR_LIST__ = .;
42            LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
43            *(.ctors)
44            LONG(0)
45            __CTOR_END__ = .;
46            __DTOR_LIST__ = .;
47            LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
48            *(.dtors)
49            LONG(0)
50            __DTOR_END__ = .;
51            etext = ALIGN( 0x10 ) ;
52            _etext = .;
53        }
54        .data : {
55            data_start = . ;
56            _data_start = .;
57            *(.data)
58            edata = ALIGN( 0x10 ) ;
59            _edata = .;
60        }
61        .bss : {
62            bss_start = . ;
63            _bss_start = . ;
64            *(.bss)
65            *(COMMON)
66            . += StackSize; /* XXX -- Old gld can't handle this */
67            . = ALIGN (16);
68            stack_init = .;
69            end = . ;
70            _end = . ;
71        }
72}
Note: See TracBrowser for help on using the repository browser.