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
This commit is contained in:
Joel Sherrill
2004-11-26 01:56:20 +00:00
parent 9f9033221c
commit 7f71164c22
2 changed files with 11 additions and 5 deletions

View File

@@ -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.

View File

@@ -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 = .);