Last change
on this file since 2878 was 2725, checked in by Bruno Cornec, 14 years ago |
- Update mindi-busybox to 1.18.3 to avoid problems with the tar command which is now failing on recent versions with busybox 1.7.3
|
-
Property svn:executable
set to
*
|
File size:
578 bytes
|
Rev | Line | |
---|
[821] | 1 | #!/bin/sh
|
---|
| 2 |
|
---|
[1765] | 3 | t_text=0
|
---|
| 4 | t_data=0
|
---|
| 5 | t_bss=0
|
---|
| 6 |
|
---|
| 7 | printf "%9s %11s %9s %9s %s\n" "text+data" "text+rodata" rwdata bss filename
|
---|
| 8 |
|
---|
| 9 | find -name '*.o' | grep -v '^\./scripts/' | grep -vF built-in.o \
|
---|
| 10 | | sed 's:^\./::' | xargs "${CROSS_COMPILE}size" | grep '^ *[0-9]' \
|
---|
| 11 | | {
|
---|
| 12 | while read text data bss dec hex filename; do
|
---|
| 13 | t_text=$((t_text+text))
|
---|
| 14 | t_data=$((t_data+data))
|
---|
| 15 | t_bss=$((t_bss+bss))
|
---|
[821] | 16 | printf "%9d %11d %9d %9d %s\n" $((text+data)) $text $data $bss "$filename"
|
---|
[1765] | 17 | done
|
---|
| 18 | printf "%9d %11d %9d %9d %s\n" $((t_text+t_data)) $t_text $t_data $t_bss "TOTAL"
|
---|
[2725] | 19 | } | env -uLANG -uLC_ALL sort -r
|
---|
Note:
See
TracBrowser
for help on using the repository browser.