diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-09-15 19:18:36 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-09-15 19:18:36 +0000 |
commit | 628d804f36cd252ed24611b0ef9bc0c643cfc5a1 (patch) | |
tree | be5af4f5bbfd76ce4ba3f3858407576c085f17a0 /c/src/lib/libbsp/sh/simsh4/startup/linkcmds-le | |
parent | 2008-09-15 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-628d804f36cd252ed24611b0ef9bc0c643cfc5a1.tar.bz2 |
2008-09-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac, include/bsp.h, startup/hw_init.c,
startup/linkcmds, startup/linkcmds-le, startup/linkcmds-le.coff: Use
shared bsp_get_work_area() in its own file and rely on BSP Framework
to perform more initialization. After factoring this out, it turned
out that all SuperH BSPs has the same bsp_start() implementation so
this was made shared.
* startup/bspstart.c: Removed.
Diffstat (limited to 'c/src/lib/libbsp/sh/simsh4/startup/linkcmds-le')
-rw-r--r-- | c/src/lib/libbsp/sh/simsh4/startup/linkcmds-le | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/c/src/lib/libbsp/sh/simsh4/startup/linkcmds-le b/c/src/lib/libbsp/sh/simsh4/startup/linkcmds-le index 711659fe85..bd6137ae3c 100644 --- a/c/src/lib/libbsp/sh/simsh4/startup/linkcmds-le +++ b/c/src/lib/libbsp/sh/simsh4/startup/linkcmds-le @@ -8,8 +8,8 @@ ENTRY(_start) /* Do we need any of these for elf? __DYNAMIC = 0; */ -_HeapSize = DEFINED(_HeapSize) ? _HeapSize : (512 * 1024); -_WorkspaceSize = DEFINED(_WorkspaceSize) ? _WorkspaceSize : (1024 * 1024); +_RamBase = DEFINED(_RamBase) ? _RamBase : 0x00000000; +_RamSize = DEFINED(_RamSize) ? _RamSize : 0x01000000; MEMORY { @@ -86,6 +86,7 @@ SECTIONS .text : { . = . + 16; + _start = .; *(.text*) *(.stub) @@ -194,21 +195,14 @@ 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 = . ; _CPU_Interrupt_stack_high = _CPU_Interrupt_stack_low + 4096 ; |