Mercurial > hg > aboriginal
view sources/patches/elf2flt-stack.patch @ 1798:6bc4074067e9 draft
Fix default stack size so sh2eb builds runnable busybox and toybox.
author | Rob Landley <rob@landley.net> |
---|---|
date | Mon, 19 Oct 2015 08:53:26 -0500 |
parents | |
children |
line wrap: on
line source
The default stack size is way too small to run much beyond "hello world". diff -ru elf2flt/elf2flt.c elf2flt.bak/elf2flt.c --- elf2flt/elf2flt.c 2015-01-04 02:14:55.000000000 -0600 +++ elf2flt.bak/elf2flt.c 2015-10-19 08:49:53.608497450 -0500 @@ -1673,7 +1673,7 @@ sizeof(hdr)); #ifndef TARGET_e1 - stack = 4096; + stack = 65536; #else /* We need plenty of stack for both of them (Aggregate and Register) */ stack = 0x2020; #endif