From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Sat, 26 Aug 2017 16:47:06 -0400 Subject: [U-Boot] scripts: objdiff: Ignore debug info when comparing In-Reply-To: <1503453571-24705-1-git-send-email-yamada.masahiro@socionext.com> References: <1503453571-24705-1-git-send-email-yamada.masahiro@socionext.com> Message-ID: <20170826204706.GR2827@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Aug 23, 2017 at 10:59:31AM +0900, Masahiro Yamada wrote: > From: Stephen Boyd > > 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 > Reviewed-by: Jason Cooper > Signed-off-by: Masahiro Yamada 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: