Re: [PATCH] scripts: objdiff: Ignore debug info when comparing
From: Masahiro Yamada
Date: Sat Mar 11 2017 - 00:48:52 EST
2017-02-17 6:18 GMT+09:00 Stephen Boyd <stephen.boyd@xxxxxxxxxx>:
> If the kernel is configured to be built with debug symbols, or
> has bug tables, comparing files may not work if line numbers
> change. This makes comparing object files with these options
> harder to do. Let's strip out the debug info and drop the
> __bug_table here so that we don't see false positives. There may
> be other things to drop later, and it may be architecture
> specific, but this works for me with my ARM64 build.
>
> Cc: Masahiro Yamada <yamada.m@xxxxxxxxxxxxxxxx>
> Cc: Jason Cooper <jason@xxxxxxxxxxxxxx>
> Signed-off-by: Stephen Boyd <stephen.boyd@xxxxxxxxxx>
Applied to linux-kbuild/misc with Jason's Reviewed-by.
Thanks!
Best Regards
Masahiro Yamada