Landing: 73323df07c7c

Project / Subsystem

binutils / readelf

Date

2026-08-14

Author

Jan Beulich <jbeulich@sourceware.org>

Commit

73323df07c7c10ffe91297712a96bcf7c59f6ca9

Source

public_inbox

Perf win

No

Breaking

No

All attributes

project
binutils
subsystem
readelf
patch_id
—
commit_hash
73323df07c7c10ffe91297712a96bcf7c59f6ca9
source_type
public_inbox
headline
Fold -bit ELF symbol parsing into a single function
tldr
Unified ELF symbol parsing in readelf, reducing code duplication.
author
Jan Beulich <jbeulich@sourceware.org>
outcome
committed
performance_win
false
breaking_change
false
series_id
—
series_parts
[]
tags
  • • binutils
  • • readelf
  • • elf
  • • optimization
  • • refactoring
discussion_id_link
—
bugzilla_pr
—
date
2026-08-14T00:00:00.000Z

The readelf utility now uses a single function to parse both 32-bit and 64-bit ELF symbol tables. This is achieved by using conditional compilation within readelf-nn.c, effectively compiling the same code twice with different types to avoid duplicating the parsing logic, addressing PR binutils/34356.