source: rtems/c/src/lib/libbsp/m68k/mvme162/startup/linkcmds @ f86ec42

4.104.114.84.95
Last change on this file since f86ec42 was f86ec42, checked in by Joel Sherrill <joel.sherrill@…>, on Feb 17, 1998 at 11:35:54 PM

Added .eh_frame, C++ constructor, and C++ destructor sections.

  • 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 MVME162 board.
4 *
5 *  COPYRIGHT (c) 1989-1997.
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 *  Modifications of respective RTEMS file: COPYRIGHT (c) 1994.
14 *  EISCAT Scientific Association. M.Savitski
15 *
16 *  This material is a part of the MVME162 Board Support Package
17 *  for the RTEMS executive. Its licensing policies are those of the
18 *  RTEMS above.
19 *
20 *  $Id$
21 */
22
23MEMORY
24        {
25        ram : org = 0x100000, l = 1M
26        }
27
28SECTIONS
29{
30        .text 0x100000 :
31        {
32        text_start = . ;
33        *(.text)
34        . = ALIGN (16);
35
36        *(.eh_fram)
37        . = ALIGN (16);
38
39        /*
40         * C++ constructors
41         */
42        __CTOR_LIST__ = .;
43        LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
44        *(.ctors)
45        LONG(0)
46        __CTOR_END__ = .;
47        __DTOR_LIST__ = .;
48        LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
49        *(.dtors)
50        LONG(0)
51        __DTOR_END__ = .;
52        etext = ALIGN( 0x10 ) ;
53        }
54        .data ADDR( .text ) + SIZEOF( .text ):
55        {
56        data_start = . ;
57        *(.data)
58        edata = ALIGN( 0x10 ) ;
59        }
60        .bss ADDR( .data ) + SIZEOF( .data ):
61        {
62        bss_start = . ;
63        *(.bss)
64        *(COMMON)
65        end = . ;
66        _end = . ;
67        }
68}
Note: See TracBrowser for help on using the repository browser.