summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sh/simsh4/startup/linkcmds-le.coff
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libbsp/sh/simsh4/startup/linkcmds-le.coff')
-rw-r--r--c/src/lib/libbsp/sh/simsh4/startup/linkcmds-le.coff19
1 files changed, 6 insertions, 13 deletions
diff --git a/c/src/lib/libbsp/sh/simsh4/startup/linkcmds-le.coff b/c/src/lib/libbsp/sh/simsh4/startup/linkcmds-le.coff
index 038ff2fea4..062e13b768 100644
--- a/c/src/lib/libbsp/sh/simsh4/startup/linkcmds-le.coff
+++ b/c/src/lib/libbsp/sh/simsh4/startup/linkcmds-le.coff
@@ -24,11 +24,11 @@ OUTPUT_FORMAT("elf32-shl")
OUTPUT_ARCH(sh)
ENTRY(_start)
-_HeapSize = DEFINED(_HeapSize) ? _HeapSize : (512 * 1024);
-_WorkspaceSize = DEFINED(_WorkspaceSize) ? _WorkspaceSize : (1024 * 1024);
-
/* These assignments load code into SH7045F EVB SRAM for monitor debugging */
+_RamBase = DEFINED(_RamBase) ? _RamBase : 0x00000000;
+_RamSize = DEFINED(_RamSize) ? _RamSize : 0x01000000;
+
MEMORY
{
ram : o = 0x00000000, l = 0x01000000
@@ -83,6 +83,7 @@ SECTIONS
.plt : { *(.plt) }
.text . :
{
+ _start = .;
*(.text*)
*(.stub)
@@ -153,19 +154,11 @@ SECTIONS
PROVIDE (end = .);
. = ALIGN(16);
- _HeapStart = . ;
- . = . + _HeapSize ;
- PROVIDE( _HeapEnd = . );
-
- . = ALIGN(16);
- _WorkSpaceStart = . ;
- . = . + _WorkspaceSize ;
- PROVIDE(_WorkSpaceEnd = .);
-
- . = ALIGN(16);
.stack . : {
. = . + 4096;
}
+ . = ALIGN(16);
+ _WorkSpaceStart = . ;
. = ALIGN(16);
_CPU_Interrupt_stack_low = . ;