summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k/mcf52235/startup/linkcmds
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2008-06-19 05:46:19 +0000
committerChris Johns <chrisj@rtems.org>2008-06-19 05:46:19 +0000
commit9374e9b082bf80e68aaa747dd26a5a3b01bc6626 (patch)
tree34f5294796594c22925d520e20e0c8c2560ac3d4 /c/src/lib/libbsp/m68k/mcf52235/startup/linkcmds
parent2008-06-19 Matthew Riek <matthew.riek@ibiscomputer.com.au> (diff)
downloadrtems-9374e9b082bf80e68aaa747dd26a5a3b01bc6626.tar.bz2
2008-06-19 Matthew Riek <matthew.riek@ibiscomputer.com.au>
* mcf52235/README, mcf52235/gdb-init, mcf52235/clock/clock.c, mcf52235/console/console.c, mcf52235/include/bsp.h, mcf52235/include/coverhd.h, mcf52235/start/start.S, mcf52235/startup/bspclean.c, mcf52235/startup/bspstart.c, mcf52235/startup/linkcmds, mcf52235/timer/timer.c: Cleaned up white space and code formmated to adhere to RTEMS standards. Fixed a bug in the nano seconds since last tick support. Fixed a bug with the location of the start stack (no longer within .bss). Removed double definition of IPSBAR and some type defs etc.. Added timing test overhead results.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/m68k/mcf52235/startup/linkcmds11
1 files changed, 6 insertions, 5 deletions
diff --git a/c/src/lib/libbsp/m68k/mcf52235/startup/linkcmds b/c/src/lib/libbsp/m68k/mcf52235/startup/linkcmds
index 1f3343f69f..a61e000a59 100644
--- a/c/src/lib/libbsp/m68k/mcf52235/startup/linkcmds
+++ b/c/src/lib/libbsp/m68k/mcf52235/startup/linkcmds
@@ -21,7 +21,6 @@ _HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x0;
_StackSize = DEFINED(_StackSize) ? _StackSize : 0x400;
_FlashBase = DEFINED(_FlashBase) ? _FlashBase : 0x00000000;
-__IPSBAR = DEFINED(__IPSBAR) ? __IPSBAR : 0x40000000;
_VBR = 0x20000000;
ENTRY(start)
@@ -143,21 +142,23 @@ SECTIONS
.bss :
{
- _clear_start = .;
+ PROVIDE (_clear_start = .);
*(.bss*)
*(COMMON)
. = ALIGN (16);
PROVIDE (_end = .);
+ PROVIDE (_clear_end = .);
+ } >sram
+ .stack :
+ {
/*
* Starting Stack
*/
. += _StackSize;
. = ALIGN (16);
PROVIDE(_StackInit = .);
-
- _clear_end = .;
- _WorkspaceBase = .;
+ PROVIDE(_WorkspaceBase = .);
} >sram
/* Stabs debugging sections. */