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.rom | |
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 'c/src/lib/libbsp/sh/gensh4/startup/linkcmds.rom')
-rw-r--r-- | c/src/lib/libbsp/sh/gensh4/startup/linkcmds.rom | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/c/src/lib/libbsp/sh/gensh4/startup/linkcmds.rom b/c/src/lib/libbsp/sh/gensh4/startup/linkcmds.rom index b806b3d74b..3dcddfa3eb 100644 --- a/c/src/lib/libbsp/sh/gensh4/startup/linkcmds.rom +++ b/c/src/lib/libbsp/sh/gensh4/startup/linkcmds.rom @@ -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: @@ -169,14 +170,7 @@ SECTIONS } > ram . = ALIGN(16); - _HeapStart = . ; - . = . + _HeapSize ; - PROVIDE( _HeapEnd = . ); - - . = ALIGN(16); - _WorkSpaceStart = . ; - . = . + _WorkspaceSize ; - PROVIDE(_WorkSpaceEnd = .); + _WorkAreaBase = . ; . = ALIGN(16); .stack . : { |