[PATCH v2 00/10] Objtool updates for easier portability

From: Julien Thierry
Date: Fri Mar 27 2020 - 11:29:00 EST


Hi,

This patchset includes some of the least controversial changes that
were needed as part of the arm64 port [1].

I'm resending these rebase on top of linux-tip/core/objtool, following
the addition of Peter's patches [2]

It consist mostly of small fixes or lifting some limitations to make it
easier to support a new architecture in objtool. Of course, these will
not be the only required changes, but these are the ones I hope make
enough sense to be merged separately from the rest of arm64 port series.

Changes since v1[3]:
- Really just rebased things

[1] https://lkml.org/lkml/2020/1/9/643
[2] https://lkml.org/lkml/2020/3/25/807
[3] https://www.spinics.net/lists/kernel/msg3453718.html

Thanks,

Julien

-->

Julien Thierry (9):
objtool: Move header sync-check ealier in build
objtool: check: Remove redundant checks on operand type
objtool: check: Clean instruction state before each function
validation
objtool: check: Ignore empty alternative groups
objtool: check: Remove check preventing branches within alternative
objtool: check: Use arch specific values in restore_reg()
objtool: check: Allow save/restore hint in non standard function
symbols
objtool: Split generic and arch specific CFI definitions
objtool: Support multiple stack_op per instruction

Raphael Gault (1):
objtool: Add abstraction for computation of symbols offsets

tools/objtool/Makefile | 5 +-
tools/objtool/arch.h | 10 +-
tools/objtool/arch/x86/decode.c | 24 +++-
tools/objtool/arch/x86/include/cfi_regs.h | 25 ++++
tools/objtool/cfi.h | 21 +--
tools/objtool/check.c | 152 +++++++++++++---------
tools/objtool/check.h | 3 +-
7 files changed, 154 insertions(+), 86 deletions(-)
create mode 100644 tools/objtool/arch/x86/include/cfi_regs.h

--
2.21.1