diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-09-18 18:01:48 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-09-18 18:01:48 +0000 |
commit | 76ba5f222ad66dda7f811a65216e8d3a4cd073e6 (patch) | |
tree | 2a7c722058313ff7d4a4d3ec67700e215909e5b0 /c/src/lib/libbsp/i386/i386ex/startup/linkcmds | |
parent | 2008-09-18 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-76ba5f222ad66dda7f811a65216e8d3a4cd073e6.tar.bz2 |
2008-09-18 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac, startup/bspstart.c, startup/linkcmds: Use
top level shared bsp_get_work_area() implementation.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/i386/i386ex/startup/linkcmds | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/i386/i386ex/startup/linkcmds b/c/src/lib/libbsp/i386/i386ex/startup/linkcmds index 946de8e6e6..a4a4cc6794 100644 --- a/c/src/lib/libbsp/i386/i386ex/startup/linkcmds +++ b/c/src/lib/libbsp/i386/i386ex/startup/linkcmds @@ -41,6 +41,10 @@ SECTIONS _ram_data_offset = 0x0; _ram_data_location = _ram_data_segment * 16 + _ram_data_offset; +RamBase = DEFINED(RamBase) ? RamBase : _ram_data_location; +RamSize = DEFINED(RamSize) ? RamSize : 1M; +HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0; + .init : { _init = .; *(.init) } = 0x9090 .fini : { _fini = .; *(.fini) } = 0x9090 .data : @@ -74,6 +78,9 @@ SECTIONS } _bss_size = _ebss - _bss_start ; + . = ALIGN(0x10); + WorkAreaBase = .; + /************************************************************************************** * General variables: * |