[PATCH 00/10] Objtool updates for easier portability
From: Julien Thierry
Date: Wed Mar 25 2020 - 04:42:17 EST
Hi,
This patchset includes some of the least controversial changes that
were needed as part of the arm64 port [1].
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.
The patches should apply cleanly on linux-tip/master tree.
[1] https://lkml.org/lkml/2020/1/9/643
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 | 157 +++++++++++++---------
tools/objtool/check.h | 3 +-
7 files changed, 159 insertions(+), 86 deletions(-)
create mode 100644 tools/objtool/arch/x86/include/cfi_regs.h
--
2.21.1