From 0682df5868fe5cee545d04acbe418a0bd64fca7f Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 16 Sep 2008 20:13:17 +0000 Subject: 2008-09-16 Joel Sherrill * Makefile.am, startup/linkcmds, startup/linkcmds.ram, startup/linkcmds.rom: Use top level shared bsp_get_work_area() implementation. --- c/src/lib/libbsp/sh/gensh2/startup/linkcmds.rom | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'c/src/lib/libbsp/sh/gensh2/startup/linkcmds.rom') diff --git a/c/src/lib/libbsp/sh/gensh2/startup/linkcmds.rom b/c/src/lib/libbsp/sh/gensh2/startup/linkcmds.rom index e59598dbf9..1bf5be7120 100644 --- a/c/src/lib/libbsp/sh/gensh2/startup/linkcmds.rom +++ b/c/src/lib/libbsp/sh/gensh2/startup/linkcmds.rom @@ -44,6 +44,9 @@ OUTPUT_ARCH(sh) ENTRY(_start) /* These asignments represent actual SH7045F EVB architecture */ +_RamBase = DEFINED(_RamBase) ? _RamBase : 0x00400000; +_RamSize = DEFINED(_RamSize) ? _RamSize : 0x0008000; +_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x0; MEMORY { @@ -186,9 +189,7 @@ SECTIONS . = . + 1024 * 20 ; PROVIDE( _HeapEnd = . ); - _WorkSpaceStart = . ; - . = 0x00480000 ; - PROVIDE(_WorkSpaceEnd = .); + _WorkAreaBase = . ; _CPU_Interrupt_stack_low = 0xFFFFF000; _CPU_Interrupt_stack_high = 0xFFFFFFFF; -- cgit v1.2.3