From d1a302b52f11563240db5313344a1331613e1538 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sun, 31 Dec 2006 20:40:20 +0000 Subject: rt_names: stop allocating 5k in rwdata objsizes: don't show build machinery's object modules --- scripts/objsizes | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts/objsizes') diff --git a/scripts/objsizes b/scripts/objsizes index 4f6576d9a..ff1c6ed10 100755 --- a/scripts/objsizes +++ b/scripts/objsizes @@ -1,7 +1,8 @@ #!/bin/sh printf "%9s %11s %9s %9s %s\n" "text+data" text+rodata rwdata bss filename -find -name '*.o' | sed 's:^\./::' | xargs size | grep '^ *[0-9]' \ +find -name '*.o' | grep -v '^\./scripts/' | grep -vF built-in.o \ +| sed 's:^\./::' | xargs size | grep '^ *[0-9]' \ | while read text data bss dec hex filename; do printf "%9d %11d %9d %9d %s\n" $((text+data)) $text $data $bss "$filename" done | sort -r -- cgit v1.2.3