Skip to content

objtool: clang-related fixes

Josh Poimboeuf lkml 1 version Applied

Status from this message: The following commit has been merged into the core/objtool branch of tip:

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2objtool: Fix clang switch table edge casetools/objtool/check.c+9 -21 reply
2/2objtool: Improve call destination function detectiontools/objtool/check.c tools/objtool/elf.c tools/objtool/elf.h+31 -112 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchNick DesaulniersNathan Chancellor
1/2T-b T-b
2/2T-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] objtool: clang-related fixes

Fix a couple of issues which were discovered after clang CI was broken by 644592d32837 ("objtool: Fail the kernel build on fatal errors").

Josh Poimboeuf (2):
objtool: Fix clang switch table edge case
objtool: Improve call destination function detection

 tools/objtool/check.c | 38 +++++++++++++++++++++++++++-----------
 tools/objtool/elf.c   | 14 ++++++++++++--
 tools/objtool/elf.h   |  1 +
 3 files changed, 40 insertions(+), 13 deletions(-)
Signature · 1 line
2.21.1