summaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2004-11-26 01:56:20 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2004-11-26 01:56:20 +0000
commit7f71164c224da64c4830444bb099430f904e60ce (patch)
treeb7f489bf055a869899f5bcaa7730443e9d783c03 /c
parent2004-11-25 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-7f71164c224da64c4830444bb099430f904e60ce.tar.bz2
2004-11-25 Joel Sherrill <joel@OARcorp.com>
* startup/linkcmds: Add new bss sections .bss.* and .gnu.linkonce.b*. Also extended RAM section since this is for a simulator
Diffstat (limited to 'c')
-rw-r--r--c/src/lib/libbsp/m68k/sim68000/ChangeLog5
-rw-r--r--c/src/lib/libbsp/m68k/sim68000/startup/linkcmds11
2 files changed, 11 insertions, 5 deletions
diff --git a/c/src/lib/libbsp/m68k/sim68000/ChangeLog b/c/src/lib/libbsp/m68k/sim68000/ChangeLog
index d01a84530d..236007bac2 100644
--- a/c/src/lib/libbsp/m68k/sim68000/ChangeLog
+++ b/c/src/lib/libbsp/m68k/sim68000/ChangeLog
@@ -1,3 +1,8 @@
+2004-11-25 Joel Sherrill <joel@OARcorp.com>
+
+ * startup/linkcmds: Add new bss sections .bss.* and .gnu.linkonce.b*.
+ Also extended RAM section since this is for a simulator
+
2004-09-24 Ralf Corsepius <ralf_corsepius@rtems.org>
* configure.ac: Require automake > 1.9.
diff --git a/c/src/lib/libbsp/m68k/sim68000/startup/linkcmds b/c/src/lib/libbsp/m68k/sim68000/startup/linkcmds
index c8c6850b50..bcc08236c0 100644
--- a/c/src/lib/libbsp/m68k/sim68000/startup/linkcmds
+++ b/c/src/lib/libbsp/m68k/sim68000/startup/linkcmds
@@ -9,8 +9,8 @@
* Declare some sizes.
*/
_RomBase = DEFINED(_RomBase) ? _RomBase : 0x0;
-_RomSize = DEFINED(_RomSize) ? _RomSize : 256K;
-_RamBase = DEFINED(_RamBase) ? _RamBase : 0x40000;
+_RomSize = DEFINED(_RomSize) ? _RomSize : 512K;
+_RamBase = DEFINED(_RamBase) ? _RamBase : 0x80000;
_RamSize = DEFINED(_RamSize) ? _RamSize : 128K;
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 32K;
_StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000;
@@ -19,7 +19,7 @@ _StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000;
* Declare on-board memory.
*/
MEMORY {
- eprom : ORIGIN = 0x00000000, LENGTH = 256K
+ eprom : ORIGIN = 0x00000000, LENGTH = 512K
ram : ORIGIN = 0x00040000, LENGTH = 128K
}
SECTIONS
@@ -110,7 +110,7 @@ SECTIONS
. = ALIGN (16);
PROVIDE (_etext = .);
}
- .data 0x40000 : AT (ADDR(.text) + SIZEOF (.text)) {
+ .data 0x80000 : AT (ADDR(.text) + SIZEOF (.text)) {
PROVIDE (_copy_start = .);
*(.data)
*(.gnu.linkonce.d*)
@@ -122,7 +122,8 @@ SECTIONS
}
.bss ADDR(.data) + SIZEOF(.data) : {
_clear_start = .;
- *(.bss)
+ *(.dynbss)
+ *(.bss .bss.* .gnu.linkonce.b.*)
*(COMMON)
. = ALIGN (16);
PROVIDE (end = .);