]> git.baikalelectronics.ru Git - uboot.git/commit
scripts: objdiff: Ignore debug info when comparing
authorStephen Boyd <stephen.boyd@linaro.org>
Wed, 23 Aug 2017 01:59:31 +0000 (10:59 +0900)
committerTom Rini <trini@konsulko.com>
Sat, 26 Aug 2017 18:56:14 +0000 (14:56 -0400)
commit2d8a76690f9cf0ed07cbb9faf778a3aa7562abad
treeaa7a22056863cbf9b64084f2d0633d5b41daca53
parent4979b48a256348d376b232a77a88d15992fe4af7
scripts: objdiff: Ignore debug info when comparing

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@linaro.org>
Reviewed-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/objdiff