[PATCH 0/3] objtool: add support for >64k sections

From: Sami Tolvanen
Date: Tue Apr 21 2020 - 14:07:36 EST


This series fixes objtool for binaries with >64k sections, and
includes optimizations to reduce the runtime for a binary with
~130k sections from >15 minutes to ~4 seconds.

Sami Tolvanen (3):
objtool: use gelf_getsymshndx to handle >64k sections
objtool: optimize insn_hash for split sections
objtool: optimize add_dead_ends for split sections

tools/objtool/check.c | 48 ++++++++++++++++++++++++++-----------------
tools/objtool/check.h | 9 ++++++++
tools/objtool/elf.c | 24 +++++++++++++++-------
tools/objtool/elf.h | 1 +
4 files changed, 56 insertions(+), 26 deletions(-)


base-commit: ae83d0b416db002fe95601e7f97f64b59514d936
--
2.26.1.301.g55bc3eb7cb9-goog