forked from Imagelibrary/rtems
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:
@@ -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>
|
2004-09-24 Ralf Corsepius <ralf_corsepius@rtems.org>
|
||||||
|
|
||||||
* configure.ac: Require automake > 1.9.
|
* configure.ac: Require automake > 1.9.
|
||||||
|
|||||||
@@ -9,8 +9,8 @@
|
|||||||
* Declare some sizes.
|
* Declare some sizes.
|
||||||
*/
|
*/
|
||||||
_RomBase = DEFINED(_RomBase) ? _RomBase : 0x0;
|
_RomBase = DEFINED(_RomBase) ? _RomBase : 0x0;
|
||||||
_RomSize = DEFINED(_RomSize) ? _RomSize : 256K;
|
_RomSize = DEFINED(_RomSize) ? _RomSize : 512K;
|
||||||
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x40000;
|
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x80000;
|
||||||
_RamSize = DEFINED(_RamSize) ? _RamSize : 128K;
|
_RamSize = DEFINED(_RamSize) ? _RamSize : 128K;
|
||||||
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 32K;
|
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 32K;
|
||||||
_StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000;
|
_StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000;
|
||||||
@@ -19,7 +19,7 @@ _StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000;
|
|||||||
* Declare on-board memory.
|
* Declare on-board memory.
|
||||||
*/
|
*/
|
||||||
MEMORY {
|
MEMORY {
|
||||||
eprom : ORIGIN = 0x00000000, LENGTH = 256K
|
eprom : ORIGIN = 0x00000000, LENGTH = 512K
|
||||||
ram : ORIGIN = 0x00040000, LENGTH = 128K
|
ram : ORIGIN = 0x00040000, LENGTH = 128K
|
||||||
}
|
}
|
||||||
SECTIONS
|
SECTIONS
|
||||||
@@ -110,7 +110,7 @@ SECTIONS
|
|||||||
. = ALIGN (16);
|
. = ALIGN (16);
|
||||||
PROVIDE (_etext = .);
|
PROVIDE (_etext = .);
|
||||||
}
|
}
|
||||||
.data 0x40000 : AT (ADDR(.text) + SIZEOF (.text)) {
|
.data 0x80000 : AT (ADDR(.text) + SIZEOF (.text)) {
|
||||||
PROVIDE (_copy_start = .);
|
PROVIDE (_copy_start = .);
|
||||||
*(.data)
|
*(.data)
|
||||||
*(.gnu.linkonce.d*)
|
*(.gnu.linkonce.d*)
|
||||||
@@ -122,7 +122,8 @@ SECTIONS
|
|||||||
}
|
}
|
||||||
.bss ADDR(.data) + SIZEOF(.data) : {
|
.bss ADDR(.data) + SIZEOF(.data) : {
|
||||||
_clear_start = .;
|
_clear_start = .;
|
||||||
*(.bss)
|
*(.dynbss)
|
||||||
|
*(.bss .bss.* .gnu.linkonce.b.*)
|
||||||
*(COMMON)
|
*(COMMON)
|
||||||
. = ALIGN (16);
|
. = ALIGN (16);
|
||||||
PROVIDE (end = .);
|
PROVIDE (end = .);
|
||||||
|
|||||||
Reference in New Issue
Block a user