From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753733AbdK3RAj (ORCPT ); Thu, 30 Nov 2017 12:00:39 -0500 Received: from mail-lf0-f45.google.com ([209.85.215.45]:36299 "EHLO mail-lf0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752472AbdK3RAi (ORCPT ); Thu, 30 Nov 2017 12:00:38 -0500 X-Google-Smtp-Source: AGs4zMZRffca5lmhQUwiGPCu8LbU6YdGc7glK+UE6WBe7FX9w/ImT2WeTONhdDlY7N2odocd41EedmFMi/0RhLLL3FY= MIME-Version: 1.0 In-Reply-To: <20171130115827.709f1818@roar.ozlabs.ibm.com> References: <20171129234442.655-1-samitolvanen@google.com> <20171129234442.655-6-samitolvanen@google.com> <20171130115827.709f1818@roar.ozlabs.ibm.com> From: Nick Desaulniers Date: Thu, 30 Nov 2017 09:00:35 -0800 Message-ID: Subject: Re: [PATCH 5/7] arm64: keep .altinstructions and .altinstr_replacement To: Nicholas Piggin Cc: Sami Tolvanen , Alex Matveev , Andi Kleen , Ard Biesheuvel , Greg Hackmann , Kees Cook , linux-arm-kernel@lists.infradead.org, Linux Kbuild mailing list , LKML , Mark Rutland , Masahiro Yamada , Maxim Kuvyrkov , Michal Marek , Yury Norov , Matthias Kaehlcke Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 29, 2017 at 5:58 PM, Nicholas Piggin wrote: > (Comparing `readelf -S` before/after is a way to spot bugs.) Do you have a script that can be used to diff 2 `readelf -S`, look for missing references, and report an error? Might be easier to rerun that every so often and see what's missing.