From db88957493b8c5f6c586ee3353995286766f2c41 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Mon, 26 Oct 1998 16:18:58 +0000 Subject: Patches done in conjunction with Juan Zamorano Flores . He debugged enough to let me know what was wrong and I supplied the code. :) --- c/src/lib/libbsp/m68k/dmv152/startup/linkcmds | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'c/src/lib/libbsp/m68k/dmv152/startup/linkcmds') diff --git a/c/src/lib/libbsp/m68k/dmv152/startup/linkcmds b/c/src/lib/libbsp/m68k/dmv152/startup/linkcmds index ada99e3020..7046b88a20 100644 --- a/c/src/lib/libbsp/m68k/dmv152/startup/linkcmds +++ b/c/src/lib/libbsp/m68k/dmv152/startup/linkcmds @@ -13,6 +13,8 @@ * $Id$ */ +StackSize = DEFINED(StackSize) ? StackSize : 0x1000; + MEMORY { ram : org = 0x12800, l = 1M @@ -60,6 +62,9 @@ SECTIONS _bss_start = . ; *(.bss) *(COMMON) + . += StackSize; /* XXX -- Old gld can't handle this */ + . = ALIGN (16); + stack_init = .; end = . ; _end = . ; } -- cgit v1.2.3