source: rtems/bsps/m68k/mvme167/start/linkcmds

Last change on this file was ffa1153, checked in by Sebastian Huber <sebastian.huber@…>, on Dec 14, 2019 at 8:36:09 PM

bsps: Add RamEnd? to linker command files

Update #3838.

  • Property mode set to 100644
File size: 1.2 KB
Line 
1/*
2 *  This file contains directives for the GNU linker which are specific
3 *  to the Motorola MVME167 board.
4 *
5 *  Copyright (c) 1999, National Research Council of Canada.
6 *  Some of this material was copied from binutils-2.9.4 linker scripts,
7 *  and is therefore likely to be copyrighted by the Free Software
8 *  Foundation, even though explicit copyright notices did not appear in
9 *  those files.
10 *
11 *  The license and distribution terms for this file may be
12 *  found in the file LICENSE in this distribution or at
13 *  http://www.rtems.org/license/LICENSE.
14 */
15
16RamBase = DEFINED(RamBase) ? RamBase : 0x00800000;
17RamSize = DEFINED(RamSize) ? RamSize : 4M;
18RamEnd = RamBase + RamSize;
19
20MEMORY
21{
22  /*  The location of RAM is the address space is configurable.
23      This is where we put one board. The base address should be
24      passed as a parameter when building multiprocessor images
25      where each board resides at a different address. */
26  ram  : org = RamBase, l = RamSize
27  rom  : org = 0xFF800000, l = 4M
28  sram : org = 0xFFE00000, l = 128K
29}
30
31REGION_ALIAS ("REGION_TEXT", ram);
32REGION_ALIAS ("REGION_TEXT_LOAD", ram);
33REGION_ALIAS ("REGION_DATA", ram);
34REGION_ALIAS ("REGION_DATA_LOAD", ram);
35
36INCLUDE linkcmds.base
Note: See TracBrowser for help on using the repository browser.