diff options
author | Denis Vlasenko | 2006-09-28 22:34:46 +0000 |
---|---|---|
committer | Denis Vlasenko | 2006-09-28 22:34:46 +0000 |
commit | 57308afb5b221c2ccbf7d3accc301fffb31aa7a5 (patch) | |
tree | 1d309a3e0fc1c6ee254a77ea4d000b503c7a214a /scripts/objsizes | |
parent | 06b543b2176ccde370e2e26aca151563d4718c18 (diff) | |
download | busybox-57308afb5b221c2ccbf7d3accc301fffb31aa7a5.zip busybox-57308afb5b221c2ccbf7d3accc301fffb31aa7a5.tar.gz |
dpkg: reduce bss usage by ~130 kbytes (yes, kilobytes!)
at the cost of ~100 bytes of text.
Improves friendliness to nommu systems.
(Dunno whether nommu people ever use dpkg, though...)
Diffstat (limited to 'scripts/objsizes')
-rwxr-xr-x | scripts/objsizes | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/objsizes b/scripts/objsizes index ec99282..4f6576d 100755 --- a/scripts/objsizes +++ b/scripts/objsizes @@ -4,4 +4,4 @@ printf "%9s %11s %9s %9s %s\n" "text+data" text+rodata rwdata bss filename find -name '*.o' | sed 's:^\./::' | xargs size | grep '^ *[0-9]' \ | while read text data bss dec hex filename; do printf "%9d %11d %9d %9d %s\n" $((text+data)) $text $data $bss "$filename" -done +done | sort -r |