Skip to content

objtool: GCC 8 support

Josh Poimboeuf lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3objtool: Fix "noreturn" detection for recursive sibling callstools/objtool/check.c+7 -30 replies
2/3objtool: Support GCC 8 cold subfunctionstools/objtool/check.c tools/objtool/elf.c tools/objtool/elf.h+93 -440 replies
3/3objtool: Support GCC 8 switch tablestools/objtool/check.c+22 -21 reply
3/3objtool: Support GCC 8 switch tablestools/objtool/check.c+22 -21 reply
3/3objtool: Support GCC 8 switch tablestools/objtool/check.c+22 -20 replies
3/3objtool: Support GCC 8 switch tablestools/objtool/check.c+22 -20 replies

Reviews trailers per patch

4 of 6 patches have a Reviewed-by or Acked-by.

PatchRandy DunlapdamianPeter Zijlstra (Intel)
1/3Reported-and-tested-by
2/3Reported-and-tested-by
3/3A-b
3/3A-b
3/3A-b
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/3] objtool: GCC 8 support

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(-)
Signature · 1 line
2.17.0