summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sparc64/shared/startup/linkcmds
diff options
context:
space:
mode:
authorGedare Bloom <gedare@rtems.org>2011-12-12 19:31:48 +0000
committerGedare Bloom <gedare@rtems.org>2011-12-12 19:31:48 +0000
commita1a25aeb58b8690993f4d831934e371b356e1e6b (patch)
tree4f2fa681bd5575101947b7329d78428e583e8256 /c/src/lib/libbsp/sparc64/shared/startup/linkcmds
parent2011-12-12 Gedare Bloom <gedare@rtems.org> (diff)
downloadrtems-a1a25aeb58b8690993f4d831934e371b356e1e6b.tar.bz2
2011-12-12 Gedare Bloom <gedare@rtems.org>
PR bsps/1989 * shared/start/start.S, shared/startup/linkcmds: Boot stack and heap space improvements.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/sparc64/shared/startup/linkcmds15
1 files changed, 5 insertions, 10 deletions
diff --git a/c/src/lib/libbsp/sparc64/shared/startup/linkcmds b/c/src/lib/libbsp/sparc64/shared/startup/linkcmds
index 0a05be1e2e..6269940c2f 100644
--- a/c/src/lib/libbsp/sparc64/shared/startup/linkcmds
+++ b/c/src/lib/libbsp/sparc64/shared/startup/linkcmds
@@ -14,8 +14,7 @@
*/
RamBase = DEFINED(RamBase) ? RamBase : 0x0;
RamSize = DEFINED(RamSize) ? RamSize : 12M;
-HeapSize = DEFINED(HeapSize) ? HeapSize : 1M;
-StackSize = DEFINED(StackSize) ? StackSize : 1M;
+HeapSize = DEFINED(HeapSize) ? HeapSize : 2M;
RAM_END = RamBase + RamSize;
@@ -24,10 +23,9 @@ OUTPUT_FORMAT("elf64-sparc")
ENTRY(start)
MEMORY
- {
- ram : ORIGIN = 0x0, LENGTH = 12M
- }
-
+{
+ ram : ORIGIN = 0x0, LENGTH = 12M
+}
SECTIONS
{
@@ -151,7 +149,7 @@ SECTIONS
. = ALIGN (16);
_endtext = . ;
_etext = . ;
- } > ram
+ } > ram
.data : AT (ADDR (.text) + SIZEOF (.text))
{
@@ -196,9 +194,6 @@ SECTIONS
. += HeapSize;
PROVIDE (HeapBase = .);
. += HeapSize;
- . += StackSize;
- PROVIDE (__stack = .);
- PROVIDE (StackStart = .);
} > ram
}