summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k/mvme147/startup/linkcmds
blob: 03dd062b056c892a153617a1a35cab9250903328 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
 *  This file contains directives for the GNU linker which are specific
 *  to the Motorola MVME147 boards.
 */

/*
 *  COPYRIGHT (c) 1989-2007,2016.
 *  On-Line Applications Research Corporation (OAR).
 *
 *  The license and distribution terms for this file may be
 *  found in the file LICENSE in this distribution or at
 *  http://www.rtems.org/license/LICENSE.
 *
 *  MVME147 port for TNI - Telecom Bretagne
 *  by Dominique LE CAMPION (Dominique.LECAMPION@enst-bretagne.fr)
 *  May 1996
 */

RamSize = DEFINED(RamSize) ? RamSize : 4M;

MEMORY
{
    bootrom_reserved : ORIGIN = 0x00000000, LENGTH = 0x5000
    ram	             : ORIGIN = 0x00005000, LENGTH = RamSize - 0x5000
}

REGION_ALIAS ("REGION_TEXT", ram);
REGION_ALIAS ("REGION_TEXT_LOAD", ram);
REGION_ALIAS ("REGION_DATA", ram);
REGION_ALIAS ("REGION_DATA_LOAD", ram);

INCLUDE linkcmds.base