blob: 291285f0328344ddc3af87bab508c73d4f8565ff [file] [log] [blame]
Bernhard Reutner-Fischer06a81d32006-04-26 10:10:25 +00001#!/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