[PATCH 00/11] Various objtool fixes
From: Josh Poimboeuf
Date: Wed Mar 09 2016 - 01:07:58 EST
Based on tip/master.
These patches fix all known objtool issues:
- infinite loop
- sibling call false positives
- switch statement jump table fix
- performance improvements
- print one warning per function
Josh Poimboeuf (11):
objtool: Prevent infinite recursion in noreturn detection
objtool: Detect infinite recursion
objtool: Compile with debugging symbols
objtool: Fix false positive warnings related to sibling calls
objtool: Add helper macros for traversing instructions
objtool: Remove superflous INIT_LIST_HEAD
objtool: Rename some variables and functions
objtool: Fix false positive warnings for functions with multiple
switch statements
tools/objtool: Copy hashtable.h into tools directory
objtool: Add several performance improvements
objtool: Only print one warning per function
tools/include/asm-generic/bitops/__fls.h | 2 +-
tools/include/asm-generic/bitops/fls.h | 2 +-
tools/include/asm-generic/bitops/fls64.h | 2 +-
tools/include/linux/hashtable.h | 152 +++++++++++
tools/objtool/Makefile | 2 +-
tools/objtool/builtin-check.c | 429 +++++++++++++++++++------------
tools/objtool/elf.c | 37 ++-
tools/objtool/elf.h | 14 +-
8 files changed, 447 insertions(+), 193 deletions(-)
create mode 100644 tools/include/linux/hashtable.h
--
2.4.3