scripts/mkdiff_obj: show "size OBJFILE" too

Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
This commit is contained in:
Denys Vlasenko 2010-10-29 19:06:20 +02:00
parent 1014a9adbf
commit 1642d02710

View File

@ -39,8 +39,8 @@ while IFS='' read -r oname; do
continue continue
fi fi
diff -q -- "$1/$oname" "$2/$oname" >/dev/null && continue diff -q -- "$1/$oname" "$2/$oname" >/dev/null && continue
(cd "$1"; objdump -dr "$oname" | filter >"$oname.disasm") (cd "$1" && { size "$oname"; objdump -dr "$oname" | filter; } >"$oname.disasm")
(cd "$2"; objdump -dr "$oname" | filter >"$oname.disasm") (cd "$2" && { size "$oname"; objdump -dr "$oname" | filter; } >"$oname.disasm")
diff -u -- "$1/$oname.disasm" "$2/$oname.disasm" diff -u -- "$1/$oname.disasm" "$2/$oname.disasm"
done done
) )