summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m68k/idp
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-10-26 16:18:58 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-10-26 16:18:58 +0000
commitdb88957493b8c5f6c586ee3353995286766f2c41 (patch)
treec84662a4f3c98755916dd1b33ac76bea357c6c87 /c/src/lib/libbsp/m68k/idp
parentUpdated for mvme136. (diff)
downloadrtems-db88957493b8c5f6c586ee3353995286766f2c41.tar.bz2
Patches done in conjunction with Juan Zamorano Flores
<jzamora@avellano.datsi.fi.upm.es>. He debugged enough to let me know what was wrong and I supplied the code. :)
Diffstat (limited to 'c/src/lib/libbsp/m68k/idp')
-rw-r--r--c/src/lib/libbsp/m68k/idp/startup/linkcmds6
1 files changed, 6 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/m68k/idp/startup/linkcmds b/c/src/lib/libbsp/m68k/idp/startup/linkcmds
index 68026b08f8..d35d1d17ac 100644
--- a/c/src/lib/libbsp/m68k/idp/startup/linkcmds
+++ b/c/src/lib/libbsp/m68k/idp/startup/linkcmds
@@ -11,6 +11,9 @@
* stack grows up towards high memory. This works for
* both the rom68k and the mon68k monitors.
*/
+
+StackSize = DEFINED(StackSize) ? StackSize : 0x1000;
+
MEMORY
{
ram : org = 0x10000, l = 2M
@@ -58,6 +61,9 @@ SECTIONS
_bss_start = . ;
*(.bss)
*(COMMON)
+ . += StackSize; /* XXX -- Old gld can't handle this */
+ . = ALIGN (16);
+ stack_init = .;
end = . ;
_end = . ;
}