[PATCH 0/3] objtool: retpoline compatibility
From: Josh Poimboeuf
Date: Wed Jan 10 2018 - 20:49:14 EST
Make objtool compatible with CONFIG_RETPOLINE and re-enable the
objtool-dependent features.
Josh Poimboeuf (3):
objtool: Detect jumps to retpoline thunks
objtool: Ignore retpoline alternatives
Revert "x86/retpoline: Temporarily disable objtool when
CONFIG_RETPOLINE=y"
arch/x86/Kconfig | 4 +--
arch/x86/Kconfig.debug | 6 ++--
arch/x86/include/asm/nospec-branch.h | 27 +++++++++++++-
tools/objtool/check.c | 69 ++++++++++++++++++++++++++++++++----
tools/objtool/check.h | 2 +-
5 files changed, 95 insertions(+), 13 deletions(-)
--
2.14.3