objtool: add support for >64k sections
Status from this message: The following commit has been merged into the objtool/core branch of tip:
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 2 repliesApplied
- v13 patches 9 repliesSuperseded
Changes in v2 from the cover letter
- 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.
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | objtool: use gelf_getsymshndx to handle >64k sectionstools/ | +17 | 0 replies | |
| 2/2 | objtool: optimize add_dead_ends for split sectionstools/ | +17 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Kees Cook |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/2] objtool: add support for >64k sections
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
Signature · 1 line
2.26.1.301.g55bc3eb7cb9-goog