7 printf "%9s %11s %9s %9s %s\n" "text+data" "text+rodata" rwdata bss filename
9 find -name '*.o' |
grep -v '^\./scripts/' |
grep -vF built-in.o \
10 |
sed 's:^\./::' |
xargs "${CROSS_COMPILE}size" |
grep '^ *[0-9]' \
12 while read text data bss dec hex filename
; do
13 t_text
=$
((t_text
+text
))
14 t_data
=$
((t_data
+data
))
16 printf "%9d %11d %9d %9d %s\n" $
((text
+data
)) $text $data $bss "$filename"
18 printf "%9d %11d %9d %9d %s\n" $
((t_text
+t_data
)) $t_text $t_data $t_bss "TOTAL"
19 } | env
-uLANG -uLC_ALL sort -r