source: rtems/c/src/lib/libbsp/m68k/gen68302/startup/linkcmds @ 60b791ad

4.104.114.84.95
Last change on this file since 60b791ad 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.1 KB
RevLine 
[9526d217]1/*
2 *  This file contains directives for the GNU linker which are specific
3 *  to the Generic MC68302 board.
4 *
[60b791ad]5 *  COPYRIGHT (c) 1989-1998.
[9526d217]6 *  On-Line Applications Research Corporation (OAR).
[03f2154e]7 *  Copyright assigned to U.S. Government, 1994.
[9526d217]8 *
[98e4ebf5]9 *  The license and distribution terms for this file may be
10 *  found in the file LICENSE in this distribution or at
[03f2154e]11 *  http://www.OARcorp.com/rtems/license.html.
[9526d217]12 *
13 *  $Id$
14 */
15
16MEMORY
17        {
18        ram : org = 0x0000, l = 16M
19        }
20
21m302 = 0xf7f000;
[11290355]22_VBR = 0x000000;                /* location of the VBR table (in RAM) */
[9526d217]23
24SECTIONS
25{
26        .text 0xc00000 :
27        {
28        text_start = . ;
29        *(.text)
[f86ec42]30        . = ALIGN (16);
31
32        *(.eh_fram)
33        . = ALIGN (16);
34
35        /*
36         * C++ constructors
37         */
38        __CTOR_LIST__ = .;
39        LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
40        *(.ctors)
41        LONG(0)
42        __CTOR_END__ = .;
43        __DTOR_LIST__ = .;
44        LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
45        *(.dtors)
46        LONG(0)
47        __DTOR_END__ = .;
[9526d217]48        etext = ALIGN( 0x10 ) ;
49        }
50        .data 0x010000 :
51        {
52        data_start = . ;
53        *(.data)
54        edata = ALIGN( 0x10 ) ;
55        }
56        .bss ADDR( .data ) + SIZEOF( .data ):
57        {
58        bss_start = . ;
59        *(.bss)
60        *(COMMON)
61        end = . ;
62        _end = . ;
63        } 
64}
Note: See TracBrowser for help on using the repository browser.