[PATCH 0/4] objtool: fix some objtool warnings

From: Josh Poimboeuf
Date: Thu Jul 27 2017 - 16:57:31 EST


Some objtool warning fixes, most of which were reported by Arnd.

The first patch fixes an issue which is specific to GCC 7. It has been
around a while.

The second patch fixes an issue which has theoretically always existed
in objtool, but was only recently uncovered due to some recent function
whitelist changes associated with objtool 2.0.

The third and fourth patches are fixes for the recent objtool 2.0 and
ORC support.

Josh Poimboeuf (4):
objtool: Assume unannotated 'ud2' instructions are dead ends
objtool: Skip unreachable warnings for 'alt' instructions
objtool: Fix '-mtune=atom' decoding support in objtool 2.0
objtool: Disable GCC '-Wpacked' warnings

include/linux/compiler-gcc.h | 16 -----------
include/linux/compiler.h | 25 +++++++++++++++-
tools/objtool/Makefile | 3 +-
tools/objtool/arch.h | 5 ++--
tools/objtool/arch/x86/decode.c | 43 +++++++++++++++++++++++----
tools/objtool/check.c | 64 +++++++++++++++++++++++++++++++++++++++--
6 files changed, 127 insertions(+), 29 deletions(-)

--
2.13.3