diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-06-10 15:08:44 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-06-10 15:08:44 +0000 |
commit | e8a0788b249cbac5bf5b2aa2d81bb8f6b29a7a4b (patch) | |
tree | fcdf3d51b6d60986b634c693d71355867bca82ff /Makefile.flags | |
parent | d4fea900bdb92d7bba71348a40cb00b6748a8ecc (diff) | |
download | busybox-e8a0788b249cbac5bf5b2aa2d81bb8f6b29a7a4b.tar.gz |
moved biggest stack buffers to malloc space, or made their size configurable
(8k of shell line edit buffer is an overkill)
# make ARCH=i386 bloatcheck
function old new delta
read_line_input 3933 3967 +34
ifaddrlist 348 345 -3
do_loadfont 208 191 -17
edit_file 840 819 -21
.rodata 129112 129080 -32
uncompress 1305 1268 -37
loadfont_main 566 495 -71
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/6 up/down: 34/-181) Total: -147 bytes
Diffstat (limited to 'Makefile.flags')
-rw-r--r-- | Makefile.flags | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.flags b/Makefile.flags index 988d6e708..322e43792 100644 --- a/Makefile.flags +++ b/Makefile.flags @@ -70,4 +70,5 @@ endif #LDFLAGS += -nostdlib # Busybox is a stack-fatty so make sure we increase default size +# (TODO: use "make stksizes" to find & fix big stack users) FLTFLAGS += -s 20000 |