diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2010-10-29 19:06:20 +0200 |
---|---|---|
committer | Denys Vlasenko <dvlasenk@redhat.com> | 2010-10-29 19:06:20 +0200 |
commit | 1642d0271027a7021a0a69fda3ac7082f5b01314 (patch) | |
tree | a6971768394b6ebc6755383d60efd4da313a250b /scripts/mkdiff_obj | |
parent | 1014a9adbf2f32684865b052bab803581d416875 (diff) | |
download | busybox-1642d0271027a7021a0a69fda3ac7082f5b01314.tar.gz |
scripts/mkdiff_obj: show "size OBJFILE" too
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'scripts/mkdiff_obj')
-rwxr-xr-x | scripts/mkdiff_obj | 4 |
1 files changed, 2 insertions, 2 deletions
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 ) |