diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-09-16 20:13:21 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-09-16 20:13:21 +0000 |
commit | 94bbe3a450a08d1a652559a0d744d7ab9ad09626 (patch) | |
tree | 640ac0b85eb9736736fe1eb7b0628ea482864d25 /c/src/lib/libbsp/sh/gensh4/startup/linkcmds.rom2ram | |
parent | 2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-94bbe3a450a08d1a652559a0d744d7ab9ad09626.tar.bz2 |
2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, startup/linkcmds, startup/linkcmds.rom,
startup/linkcmds.rom2ram: Use top level shared bsp_get_work_area()
implementation.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/sh/gensh4/startup/linkcmds.rom2ram | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/c/src/lib/libbsp/sh/gensh4/startup/linkcmds.rom2ram b/c/src/lib/libbsp/sh/gensh4/startup/linkcmds.rom2ram index 78c5cf36e9..7a36454f10 100644 --- a/c/src/lib/libbsp/sh/gensh4/startup/linkcmds.rom2ram +++ b/c/src/lib/libbsp/sh/gensh4/startup/linkcmds.rom2ram @@ -24,8 +24,9 @@ ENTRY(_start) /* Do we need any of these for elf? __DYNAMIC = 0; */ +_RamBase = DEFINED(_RamBase) ? _RamBase : 0x88000000; +_RamSize = DEFINED(_RamSize) ? _RamSize : 8M; _HeapSize = DEFINED(_HeapSize) ? _HeapSize : (2 * 1024 * 1024); -_WorkspaceSize = DEFINED(_WorkspaceSize) ? _WorkspaceSize : (1024 * 1024); /* * Area assignments: @@ -172,14 +173,8 @@ SECTIONS *(.rela.bss .rela.bss.* .rela.gnu.linkonce.b.*) } >ram . = ALIGN(16); - _HeapStart = . ; - . = . + _HeapSize ; - PROVIDE( _HeapEnd = . ); - . = ALIGN(16); - _WorkSpaceStart = . ; - . = . + _WorkspaceSize ; - PROVIDE(_WorkSpaceEnd = .); + _WorkAreaBase = . ; . = ALIGN(16); .stack . : { |