summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/sh/shsim/startup
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-24 16:39:44 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-24 16:39:44 +0000
commitae1a501c95543752facf37234e8108aa41280357 (patch)
treeb7dc926e7cb11384e050e9b7e433ea630e2d1fba /c/src/lib/libbsp/sh/shsim/startup
parent2008-09-24 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-ae1a501c95543752facf37234e8108aa41280357.tar.bz2
2008-09-24 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac, clock/clockdrv.c, include/bsp.h, start/start.S, startup/linkcmds: Now runs ticker and hello on sh-rtems4.10-gdb. The SH simulator in gdb has no hardware IO or interrupt simulation so we use the trap interface to print. * gdbsci/gdbsci.c: Removed.
Diffstat (limited to 'c/src/lib/libbsp/sh/shsim/startup')
-rw-r--r--c/src/lib/libbsp/sh/shsim/startup/linkcmds11
1 files changed, 10 insertions, 1 deletions
diff --git a/c/src/lib/libbsp/sh/shsim/startup/linkcmds b/c/src/lib/libbsp/sh/shsim/startup/linkcmds
index 353a8bafbf..22a9be2d64 100644
--- a/c/src/lib/libbsp/sh/shsim/startup/linkcmds
+++ b/c/src/lib/libbsp/sh/shsim/startup/linkcmds
@@ -178,6 +178,13 @@ SECTIONS
_end = . ;
PROVIDE (end = .);
+ .stack : {
+ . += 0x1000;
+ *(.stack)
+ _stack = .;
+ } > ram
+ _stack = .;
+
_WorkAreaBase = . ;
_CPU_Interrupt_stack_low = 0x00080000 ;
@@ -217,6 +224,8 @@ SECTIONS
.debug_typenames 0 : { *(.debug_typenames) }
.debug_varnames 0 : { *(.debug_varnames) }
- .stack /* 0x00081ff0 */: { _stack = .; *(.stack) } > ram /* > onchip_ram */
+/*
+ .stack 0x00081ff0 : { _stack = .; *(.stack) } > onchip_ram
+*/
/* These must appear regardless of . */
}