lkml.org 
[lkml]   [2020]   [Apr]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
Subject[PATCH v2 0/2] objtool: add support for >64k sections
From
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.

Changes in v2:
- Dropped the insn_hash optimization as Peter has a nearly
similar change queued already.
- Instead of storing the last instruction for each section,
use find_insn to locate it.


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

tools/objtool/check.c | 36 +++++++++++++++++-------------------
tools/objtool/elf.c | 24 +++++++++++++++++-------
2 files changed, 34 insertions(+), 26 deletions(-)


base-commit: 18bf34080c4c3beb6699181986cc97dd712498fe
--
2.26.1.301.g55bc3eb7cb9-goog

\
 
 \ /
  Last update: 2020-04-22 00:09    [W:0.119 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site