From af2eb770c7eea77967c19876ba907bd5a46176ec Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Fri, 19 Sep 2008 20:40:17 +0000 Subject: 2008-09-19 Joel Sherrill * Makefile.am, include/bsp.h, startup/bspstart.c, startup/linkcmds: Use PowerPC level shared bsp_get_work_area() implementation. * startup/bspgetworkarea.c: Removed. --- c/src/lib/libbsp/powerpc/psim/startup/linkcmds | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'c/src/lib/libbsp/powerpc/psim/startup/linkcmds') diff --git a/c/src/lib/libbsp/powerpc/psim/startup/linkcmds b/c/src/lib/libbsp/powerpc/psim/startup/linkcmds index 42f052798f..2c3f89130d 100644 --- a/c/src/lib/libbsp/powerpc/psim/startup/linkcmds +++ b/c/src/lib/libbsp/powerpc/psim/startup/linkcmds @@ -15,6 +15,10 @@ ENTRY(_start) /* Do we need any of these for elf? __DYNAMIC = 0; */ PROVIDE (PSIM_INSTRUCTIONS_PER_MICROSECOND = 10000); + +RamBase = DEFINED(RamBase) ? RamBase : 0x0; +RamSize = DEFINED(RamSize) ? RamSize : 8M; + MEMORY { RAM : ORIGIN = 0, LENGTH = 8M @@ -200,7 +204,7 @@ _SDA_BASE_ = __SDATA_START__ + 0x8000; _edata = .; PROVIDE (edata = .); - PROVIDE (RAM_END = 0x7f0000); + PROVIDE (RAM_END = 8M); .sbss : { PROVIDE (__sbss_start = .); @@ -217,9 +221,11 @@ _SDA_BASE_ = __SDATA_START__ + 0x8000; *(.bss .bss* .gnu.linkonce.b*) *(COMMON) } >RAM + . = ALIGN(16); + . += 0x1000; + PROVIDE(__stack = .); __rtems_end = . ; . = ALIGN(8) + 0x8000; - PROVIDE(__stack = .); PROVIDE(_end = .); PROVIDE(end = .); -- cgit v1.2.3