Landing: e200cc751e1d
Project / Subsystem
binutils / readelf
Date
2026-08-14
Author
Jan Beulich <jbeulich@sourceware.org>
Commit
e200cc751e1d796cb5473742bb14590a51210ef2
Source
public_inbox
Perf win
No
Breaking
No
All attributes
- project
- binutils
- subsystem
- readelf
- patch_id
- —
- commit_hash
- e200cc751e1d796cb5473742bb14590a51210ef2
- source_type
- public_inbox
- headline
- Fold -bit dynamic section parsing into a single function
- tldr
- Unified dynamic section 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
- public_inbox:binutils#17533
- 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 dynamic sections. 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.