summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDenis Vlasenko2006-09-28 22:34:46 +0000
committerDenis Vlasenko2006-09-28 22:34:46 +0000
commit57308afb5b221c2ccbf7d3accc301fffb31aa7a5 (patch)
tree1d309a3e0fc1c6ee254a77ea4d000b503c7a214a /scripts
parent06b543b2176ccde370e2e26aca151563d4718c18 (diff)
downloadbusybox-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')
-rwxr-xr-xscripts/objsizes2
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