Magellan Linux

Contents of /trunk/mkinitrd-magellan/busybox/scripts/objsizes

Parent Directory Parent Directory | Revision Log Revision Log


Revision 532 - (show annotations) (download)
Sat Sep 1 22:45:15 2007 UTC (16 years, 9 months ago) by niro
File size: 362 byte(s)
-import if magellan mkinitrd; it is a fork of redhats mkinitrd-5.0.8 with all magellan patches and features; deprecates magellan-src/mkinitrd

1 #!/bin/sh
2
3 printf "%9s %11s %9s %9s %s\n" "text+data" text+rodata rwdata bss filename
4 find -name '*.o' | grep -v '^\./scripts/' | grep -vF built-in.o \
5 | sed 's:^\./::' | xargs "${CROSS_COMPILE}size" | grep '^ *[0-9]' \
6 | while read text data bss dec hex filename; do
7 printf "%9d %11d %9d %9d %s\n" $((text+data)) $text $data $bss "$filename"
8 done | sort -r

Properties

Name Value
svn:executable *