scripts: objdiff: detect object code changes between two commits
authorJason Cooper <jason@lakedaemon.net>
Mon, 7 Apr 2014 18:30:29 +0000 (18:30 +0000)
committerMichal Marek <mmarek@suse.cz>
Tue, 8 Apr 2014 14:41:44 +0000 (16:41 +0200)
commit79192ca8ebd9a25c583aa46024a250fef1e7766f
treee84e8eb7e9fe7b8566671952850570461729d08f
parent0a830dad5e3ceffc1f12f3e674322182d809e3a9
scripts: objdiff: detect object code changes between two commits

objdiff is useful when doing large code cleanups.  For example, when
removing checkpatch warnings and errors from new drivers in the staging
tree.

objdiff can be used in conjunction with a git rebase to confirm that
each commit made no changes to the resulting object code.  It has the
same return values as diff(1).

This was written specifically to support adding the skein and threefish
cryto drivers to the staging tree.  I needed a programmatic way to
confirm that commits changing >90% of the lines didn't inadvertently
change the code.

Temporary files (objdump output) are stored in

  /path/to/linux/.tmp_objdiff

'make mrproper' will remove this directory.

Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Makefile
scripts/objdiff [new file with mode: 0755]