source: MondoRescue/branches/stable/mindi-busybox/scripts/objsizes @ 821

Last change on this file since 821 was 821, checked in by Bruno Cornec, 14 years ago

Addition of busybox 1.2.1 as a mindi-busybox new package
This should avoid delivering binary files in mindi not built there (Fedora and Debian are quite serious about that)

  • Property svn:executable set to *
File size: 294 bytes
Line 
1#!/bin/sh
2
3printf "%9s %11s %9s %9s %s\n" "text+data" text+rodata rwdata bss filename
4find -name '*.o' | sed 's:^\./::' | xargs size | grep '^ *[0-9]' \
5| while read text data bss dec hex filename; do
6    printf "%9d %11d %9d %9d %s\n" $((text+data)) $text $data $bss "$filename"
7done \
8| sort
Note: See TracBrowser for help on using the repository browser.