Skip to content

objtool: fix some objtool warnings

Josh Poimboeuf lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4objtool: Assume unannotated 'ud2' instructions are dead endsinclude/linux/compiler-gcc.h include/linux/compiler.h tools/objtool/arch.h +2 more+94 -260 replies
2/4objtool: Skip unreachable warnings for 'alt' instructionstools/objtool/check.c+6 -10 replies
3/4objtool: Fix '-mtune=atom' decoding support in objtool 2.0tools/objtool/arch/x86/decode.c+25 -10 replies
4/4objtool: Disable GCC '-Wpacked' warningstools/objtool/Makefile+2 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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