source: rtems/c/src/lib/libbsp/m68k/dmv152/startup/linkcmds @ 08311cc3

4.104.114.84.95
Last change on this file since 08311cc3 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 DY-4 DMV152/SVME153 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;
16
17MEMORY
18        {
19        ram : org = 0x12800, l = 1M
20        }
21
22SECTIONS
23{
24        .text 0x12800 :
25        {
26        text_start = . ;
27        _text_start = . ;
28        *(.text)
29        . = ALIGN (16);
30
31        *(.eh_fram)
32        . = ALIGN (16);
33
34        . = ALIGN (16);
35        *(.gcc_exc)
36
37        /*
38         * C++ constructors
39         */
40        __CTOR_LIST__ = .;
41        LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
42        *(.ctors)
43        LONG(0)
44        __CTOR_END__ = .;
45        __DTOR_LIST__ = .;
46        LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
47        *(.dtors)
48        LONG(0)
49        __DTOR_END__ = .;
50        etext = ALIGN( 0x10 ) ;
51        _etext = .;
52        }
53
54
55        .data : {
56                data_start = . ;
57                _data_start = . ;
58                *(.data)
59                edata = ALIGN( 0x10 ) ;
60                _edata = .;
61        }
62        .bss : {
63                bss_start = . ;
64                _bss_start = . ;
65                *(.bss)
66                *(COMMON)
67                . += StackSize; /* XXX -- Old gld can't handle this */
68                . = ALIGN (16);
69                stack_init = .;
70                end = . ;
71                _end = . ;
72        }
73}
Note: See TracBrowser for help on using the repository browser.