[PATCH 0/3] objtool: GCC 8 support

From: Josh Poimboeuf
Date: Wed May 09 2018 - 23:39:54 EST


Now that GCC 8 is out, several people have complained about a bunch of
objtool warnings. These patches fix all known warnings.

Patch 1 is a repost of a previous fix -- unrelated to GCC 8, but a
prereq for the following two patches.

Patch 2 fixes the vast majority of the warnings, caused by GCC 8's new
usage of "cold" subfunctions for unlikely text.

Patch 3 fixes a few more warnings, related to switch tables.

Josh Poimboeuf (3):
objtool: Fix "noreturn" detection for recursive sibling calls
objtool: Support GCC 8 cold subfunctions
objtool: Support GCC 8 switch tables

tools/objtool/check.c | 125 ++++++++++++++++++++++++++----------------
tools/objtool/elf.c | 42 +++++++++++++-
tools/objtool/elf.h | 2 +
3 files changed, 121 insertions(+), 48 deletions(-)

--
2.17.0