summaryrefslogtreecommitdiff
path: root/c/src/lib/libbsp/sparc64/shared/startup/linkcmds
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/sparc64/shared/startup/linkcmds')
-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
}