Age | Commit message (Collapse) | Author |
|
platform.h: make a bit more readable
|
|
|
|
|
|
|
|
|
|
text data bss dec hex filename
804476 611 6868 811955 c63b3 busybox_old
804373 611 6868 811852 c634c busybox_unstripped
|
|
|
|
text data bss dec hex filename
808035 611 6868 815514 c719a busybox_old
804472 611 6868 811951 c63af busybox_unstripped
|
|
fix option parsing in the case some CONFIG_x are off.
disable -b on NOMMU, make backgrounding work correctly
(if a bit differently from MMU case). Previously,
it wasn't working at all.
stop using global data for flags in main(), opt
bitfield works as well.
function old new delta
cryptpw_main 177 153 -24
packed_usage 24478 24452 -26
client_background 26 - -26
udhcpc_main 2462 2372 -90
------------------------------------------------------------------------------
(add/remove: 0/1 grow/shrink: 0/3 up/down: 0/-166) Total: -166 bytes
|
|
udhcpc: guard against zero lease time
function old new delta
timeout 4 - -4
server_addr 4 - -4
requested_ip 4 - -4
perform_release 134 112 -22
udhcpc_main 2511 2485 -26
------------------------------------------------------------------------------
(add/remove: 0/3 grow/shrink: 0/2 up/down: 0/-60) Total: -60 bytes
|
|
This was Bernhard Fischer' idea.
text data bss dec hex filename
773549 7781 9740 791070 c121e busybox.t7/0_lib/libbusybox.so.1.11.0.svn_unstripped
769683 7397 9740 786820 c0184 busybox.t9t/0_lib/libbusybox.so.1.11.0.svn_unstripped
|
|
|
|
by Joe Krahn <krahn AT niehs.nih.gov>
|
|
Closes bug 1332.
|
|
types so dont redefine them, sys/statfs.h is not available, and only use some newer AF_* defines if they are actually available
|
|
|
|
size-neutral WRT -std=gnu99 and fixes several compilation errors for strict
C99 mode.
|
|
|
|
hush: more correct handling of piping
config: add CONFIG_NOMMU
|
|
in separate directory (archival/bz/*)
and is covered by BSD-style license.
code size: 13k
|
|
EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
|
|
code shrank with and without TOPMEM:
top_main 828 844 +16
display_process_list 1525 1473 -52
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/1 up/down: 16/-52) Total: -36 bytes
top_main 1150 1171 +21
display_topmem_process_list 1150 1167 +17
display_process_list 1525 1473 -52
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/1 up/down: 38/-52) Total: -14 bytes
|
|
trylink: explain how to modify link and drastically decrease amount
of padding (unfortunately, needs hand editing ATM).
*: add ALIGN1 / ALIGN2 to global strings and arrays of bytes and shorts
size saving: 0.5k
|
|
|
|
function old new delta
fiddle_sum 8 - -8
diffreg 2717 2690 -27
prepare 334 284 -50
------------------------------------------------------------------------------
(add/remove: 0/1 grow/shrink: 0/2 up/down: 0/-85) Total: -85 bytes
s/ATTRIBUTE_ALWAYS_INLINE/ALWAYS_INLINE/g
|
|
|
|
|
|
|
|
login: sanitize stdio descriptors (we are suid, need to be careful!)
shrink login and set_environment by ~100 bytes.
|
|
"#ifndef BB_NOMMU" is a double negative
|
|
This is ment to provide means to point at cruft marked for cleanup.
|
|
needed for linux/loop.h
|
|
|
|
|
|
move get_hz to the only caller
|
|
|
|
last xcalloc replaced by xzalloc
|
|
platform.h: define strchrnul for dietlibc
ash: stop using few non-standard functions
|
|
xfuncs: add dprintf for dietlibc
|
|
xstrtou: disallow leading '+'
|
|
|
|
|
|
I don't know why patch decided to apply this even though it was already in
the tree. I thought the other hunks failed because they were totally
unrelated leakage from Bernhard's tree (which they are; was the a reason
for bundling them in with this fix? Do they have something to do with
the GCC 2.95 fix? I suspect they prevent me from backporting this
patch to 1.2.2 because the header consolidation into libbb.h hadn't
been done yet, and no I'm not fixing it up: if that's the case then
this patch won't be in 1.2.2 due to extraneous changes bundled with it that
prevent a clean backport without rolling a new patch).
|
|
|
|
__va_copy.
|
|
defined), yet it's not doing it for scripts/individual for some reason.
(I hate fighting with header files.)
|
|
|
|
few new (unfinished) config options, which I intend to make hidden (but
enabled) when CONFIG_NITPICK is disabled. Getting the .config infrastructure
to do that is non-obvious, it seems...
|
|
belongs
|
|
|