diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-09-15 19:18:29 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-09-15 19:18:29 +0000 |
commit | 11a6c974621241c2d556112fe62700b7dd355b5b (patch) | |
tree | 9a794ce5e1eae9bb0fd93e995922057b6748f8a5 /c/src/lib/libbsp/sh/gensh1/startup/linkcmds | |
parent | 2008-09-15 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-11a6c974621241c2d556112fe62700b7dd355b5b.tar.bz2 |
2008-09-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac, include/bsp.h, startup/linkcmds: 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/gensh1/startup/linkcmds')
-rw-r--r-- | c/src/lib/libbsp/sh/gensh1/startup/linkcmds | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/c/src/lib/libbsp/sh/gensh1/startup/linkcmds b/c/src/lib/libbsp/sh/gensh1/startup/linkcmds index 0218a8dd58..c31b982343 100644 --- a/c/src/lib/libbsp/sh/gensh1/startup/linkcmds +++ b/c/src/lib/libbsp/sh/gensh1/startup/linkcmds @@ -31,6 +31,9 @@ OUTPUT_ARCH(sh) ENTRY(_start) +_RamBase = DEFINED(_RamBase) ? _RamBase : 0x0a040000; +_RamSize = DEFINED(_RamSize) ? _RamSize : 512K; + MEMORY { rom : o = 0x00000000, l = 128k @@ -104,6 +107,7 @@ SECTIONS .plt : { *(.plt) } .text . : { + _start = .; *(.text*) *(.stub) @@ -175,13 +179,7 @@ SECTIONS _end = . ; PROVIDE (end = .); - _HeapStart = . ; - . = . + 1024 * 20 ; - PROVIDE( _HeapEnd = . ); - _WorkSpaceStart = . ; - . = 0x0a080000 ; - PROVIDE(_WorkSpaceEnd = .); _CPU_Interrupt_stack_low = 0x0f000000 ; _CPU_Interrupt_stack_high = _CPU_Interrupt_stack_low + 4096 ; |