summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/mbx8xx/startup/linkcmds
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-14 23:43:36 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-14 23:43:36 +0000
commitb4a52b19b95b0418561efdcc7858d74201326b26 (patch)
tree8d557abc3692074a7d3e46c4b27afa3d023b5a20 /c/src/lib/libbsp/powerpc/mbx8xx/startup/linkcmds
parent2008-09-14 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-b4a52b19b95b0418561efdcc7858d74201326b26.tar.bz2
2008-09-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac, startup/bspstart.c, startup/linkcmds: Create bsp_get_work_area() into its own file and use BSP Framework to perform more initialization. * startup/bspgetworkarea.c: New file.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/powerpc/mbx8xx/startup/linkcmds16
1 files changed, 4 insertions, 12 deletions
diff --git a/c/src/lib/libbsp/powerpc/mbx8xx/startup/linkcmds b/c/src/lib/libbsp/powerpc/mbx8xx/startup/linkcmds
index cb309c27ef..52029ebafc 100644
--- a/c/src/lib/libbsp/powerpc/mbx8xx/startup/linkcmds
+++ b/c/src/lib/libbsp/powerpc/mbx8xx/startup/linkcmds
@@ -15,8 +15,9 @@ ENTRY(start)
* number used there is not constant. If this happens to you, edit
* the lines marked XXX below to use a constant value.
*/
-HeapSize = DEFINED(HeapSize) ? HeapSize : 0x100000; /* 1M Heap */
StackSize = DEFINED(StackSize) ? StackSize : 0x1000;
+RamBase = DEFINED(RamBase) ? RamBase : 0;
+RamSize = DEFINED(RamSized) ? RamSize : 4M;
MEMORY
{
@@ -262,17 +263,8 @@ SECTIONS
intrStack = .;
PROVIDE(intrStackPtr = intrStack);
- _HeapStart = .;
- __HeapStart = .;
- . += HeapSize; /* XXX -- Old gld can't handle this */
- /* . += 0x80000; */ /* HeapSize for old gld */
- _HeapEnd = .;
- __HeapEnd = .;
- clear_end = .;
-
- _WorkspaceBase = .;
- __WorkspaceBase = .;
-
+ WorkspaceBase = .;
+
dpram :
{
m8xx = .;