From: Denys Vlasenko Date: Fri, 29 Oct 2010 17:06:20 +0000 (+0200) Subject: scripts/mkdiff_obj: show "size OBJFILE" too X-Git-Tag: 1_18_0~42 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1642d0271027a7021a0a69fda3ac7082f5b01314;p=oweals%2Fbusybox.git scripts/mkdiff_obj: show "size OBJFILE" too Signed-off-by: Denys Vlasenko --- diff --git a/scripts/mkdiff_obj b/scripts/mkdiff_obj index f783491af..307474874 100755 --- a/scripts/mkdiff_obj +++ b/scripts/mkdiff_obj @@ -39,8 +39,8 @@ while IFS='' read -r oname; do continue fi diff -q -- "$1/$oname" "$2/$oname" >/dev/null && continue - (cd "$1"; objdump -dr "$oname" | filter >"$oname.disasm") - (cd "$2"; objdump -dr "$oname" | filter >"$oname.disasm") + (cd "$1" && { size "$oname"; objdump -dr "$oname" | filter; } >"$oname.disasm") + (cd "$2" && { size "$oname"; objdump -dr "$oname" | filter; } >"$oname.disasm") diff -u -- "$1/$oname.disasm" "$2/$oname.disasm" done )