Contents of /tags/mkinitrd-6_1_2/busybox/scripts/find_stray_common_vars
Parent Directory | Revision Log
Revision 844 -
(show annotations)
(download)
Mon May 4 17:23:09 2009 UTC (15 years, 4 months ago) by niro
File size: 316 byte(s)
Mon May 4 17:23:09 2009 UTC (15 years, 4 months ago) by niro
File size: 316 byte(s)
tagged 'mkinitrd-6_1_2'
1 | #!/bin/sh |
2 | |
3 | # Common variables are elusive, they don't show up in size output! |
4 | # This script will show all commons in *.o, sorted by size |
5 | |
6 | find ! -path './scripts/*' -a ! -name built-in.o -a -name '*.o' \ |
7 | | while read name; do |
8 | b=`basename "$name"` |
9 | nm "$name" | sed "s/^/$b: /" |
10 | done | grep -i ' c ' | sort -k2 |