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 | |
---|
16 | RamBase = DEFINED(RamBase) ? RamBase : 0x00800000; |
---|
17 | RamSize = DEFINED(RamSize) ? RamSize : 4M; |
---|
18 | |
---|
19 | MEMORY |
---|
20 | { |
---|
21 | /* The location of RAM is the address space is configurable. |
---|
22 | This is where we put one board. The base address should be |
---|
23 | passed as a parameter when building multiprocessor images |
---|
24 | where each board resides at a different address. */ |
---|
25 | ram : org = RamBase, l = RamSize |
---|
26 | rom : org = 0xFF800000, l = 4M |
---|
27 | sram : org = 0xFFE00000, l = 128K |
---|
28 | } |
---|
29 | |
---|
30 | REGION_ALIAS ("REGION_TEXT", ram); |
---|
31 | REGION_ALIAS ("REGION_TEXT_LOAD", ram); |
---|
32 | REGION_ALIAS ("REGION_DATA", ram); |
---|
33 | REGION_ALIAS ("REGION_DATA_LOAD", ram); |
---|
34 | |
---|
35 | INCLUDE linkcmds.base |
---|