summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/i386/pc386/startup/linkcmds
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-18 20:41:09 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2008-09-18 20:41:09 +0000
commitef37cb67a1aa02c80a0e4f4c902a8b69ce28dbb8 (patch)
tree42f85a2ab2d48e56fd36890a69809a988af585ed /c/src/lib/libbsp/i386/pc386/startup/linkcmds
parent2008-09-18 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-ef37cb67a1aa02c80a0e4f4c902a8b69ce28dbb8.tar.bz2
2008-09-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac, startup/bspstart.c, startup/linkcmds: Add bsp_get_work_area() implementation and use more of the BSP Initialization Framework. * startup/bspgetworkarea.c: New file.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/i386/pc386/startup/linkcmds6
1 files changed, 6 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/i386/pc386/startup/linkcmds b/c/src/lib/libbsp/i386/pc386/startup/linkcmds
index aeb347af0c..f7e3385ae9 100644
--- a/c/src/lib/libbsp/i386/pc386/startup/linkcmds
+++ b/c/src/lib/libbsp/i386/pc386/startup/linkcmds
@@ -17,6 +17,9 @@ OUTPUT_FORMAT("elf32-i386", "elf32-i386",
OUTPUT_ARCH(i386)
ENTRY(_start)
*/
+HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0;
+RamSize = DEFINED(RamSize) ? RamSize : 0xFFFFFFFF;
+
SECTIONS
{
/* Read-only sections, merged into text segment: */
@@ -183,7 +186,10 @@ SECTIONS
. = ALIGN(32 / 8);
. = ALIGN(32 / 8);
_end = .; PROVIDE (end = .);
+ . = ALIGN(0x10);
+ WorkAreaBase = .;
. = DATA_SEGMENT_END (.);
+
/* Stabs debugging sections. */
.stab 0 : { *(.stab) }
.stabstr 0 : { *(.stabstr) }