summaryrefslogtreecommitdiffstats
path: root/bsps/m68k/mvme162/start/linkcmds
diff options
context:
space:
mode:
Diffstat (limited to 'bsps/m68k/mvme162/start/linkcmds')
-rw-r--r--bsps/m68k/mvme162/start/linkcmds32
1 files changed, 32 insertions, 0 deletions
diff --git a/bsps/m68k/mvme162/start/linkcmds b/bsps/m68k/mvme162/start/linkcmds
new file mode 100644
index 0000000000..fd77dcf147
--- /dev/null
+++ b/bsps/m68k/mvme162/start/linkcmds
@@ -0,0 +1,32 @@
+/*
+ * This file contains directives for the GNU linker which are specific
+ * to the Motorola MVME162 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 : 1M;
+
+MEMORY
+{
+ bootrom_reserved : ORIGIN = 0x00000000, LENGTH = 0x20000
+ ram : ORIGIN = 0x00020000, LENGTH = RamSize - 0x20000
+}
+
+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