[U-Boot] scripts: objdiff: Ignore debug info when comparing

Tom Rini trini at konsulko.com
Sat Aug 26 20:47:06 UTC 2017


On Wed, Aug 23, 2017 at 10:59:31AM +0900, Masahiro Yamada wrote:

> From: Stephen Boyd <stephen.boyd at linaro.org>
> 
> 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.
> 
> [ Import Linux commit: 65ba6fa439e7c3cbf97de9dce9e7a3390ae2638c ]
> 
> Signed-off-by: Stephen Boyd <stephen.boyd at linaro.org>
> Reviewed-by: Jason Cooper <jason at lakedaemon.net>
> Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170826/00782f26/attachment.sig>


More information about the U-Boot mailing list