diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-04-18 17:26:41 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-04-18 17:26:41 +0000 |
commit | 0903597f4f631705c40b5dc9fbdcc2c3e9c0c936 (patch) | |
tree | de9a5efbf5af1a2e5d80f0a20701ce7d246f2f37 /c/src/lib/libbsp/powerpc/psim/startup | |
parent | rtems_libio_number_iops is now defined in confdefs.h so the maximum (diff) | |
download | rtems-0903597f4f631705c40b5dc9fbdcc2c3e9c0c936.tar.bz2 |
psim now runs in both debug and non-debug mode.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/psim/startup')
-rw-r--r-- | c/src/lib/libbsp/powerpc/psim/startup/bspstart.c | 7 | ||||
-rw-r--r-- | c/src/lib/libbsp/powerpc/psim/startup/linkcmds | 3 |
2 files changed, 6 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/powerpc/psim/startup/bspstart.c b/c/src/lib/libbsp/powerpc/psim/startup/bspstart.c index 8b68345c8c..983919a20c 100644 --- a/c/src/lib/libbsp/powerpc/psim/startup/bspstart.c +++ b/c/src/lib/libbsp/powerpc/psim/startup/bspstart.c @@ -214,6 +214,7 @@ void bsp_start( void ) BSP_Configuration.work_space_size *= 3; #endif + BSP_Configuration.work_space_size += 32 * 1024; #if 0 work_space_start = @@ -230,13 +231,11 @@ void bsp_start( void ) BSP_Configuration.work_space_start = work_space_start; -#ifdef STACK_CHECKER_ON /* - * Add 1 extension for stack checker + * Account for the console's resources */ - BSP_Configuration.maximum_extensions++; -#endif + console_reserve_resources( &BSP_Configuration ); #if PSIM_FAST_IDLE /* diff --git a/c/src/lib/libbsp/powerpc/psim/startup/linkcmds b/c/src/lib/libbsp/powerpc/psim/startup/linkcmds index c43cbee273..1f3c17507e 100644 --- a/c/src/lib/libbsp/powerpc/psim/startup/linkcmds +++ b/c/src/lib/libbsp/powerpc/psim/startup/linkcmds @@ -104,6 +104,7 @@ SECTIONS /* Put .ctors and .dtors next to the .got2 section, so that the pointers get relocated with -mrelocatable. Also put in the .fixup pointers. The current compiler no longer needs this, but keep it around for 2.7.2 */ + PROVIDE (__GOT2_START__ = .); PROVIDE (_GOT2_START_ = .); .got2 : { *(.got2) } PROVIDE (__GOT2_END__ = .); @@ -113,11 +114,13 @@ SECTIONS PROVIDE (__DTOR_LIST__ = .); .dtors : { *(.dtors) } PROVIDE (__DTOR_END__ = .); + PROVIDE (__FIXUP_START__ = .); PROVIDE (_FIXUP_START_ = .); .fixup : { *(.fixup) } PROVIDE (_FIXUP_END_ = .); PROVIDE (__FIXUP_END__ = .); PROVIDE (_GOT2_END_ = .); + PROVIDE (__GOT_START__ = .); PROVIDE (_GOT_START_ = .); s.got = .; .got : { *(.got) } |