diff options
Diffstat (limited to 'c/src/lib/libbsp/m68k/idp/startup/linkcmds')
-rw-r--r-- | c/src/lib/libbsp/m68k/idp/startup/linkcmds | 6 |
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 = . ; } |