readelf: add support for more RISC-V note types
Project / Subsystem
binutils / readelf
Date
2026-09-09
Proposer
Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Source type
public_inbox
Consensus
Proposed
Sentiment
8/10
Technical tradeoffs
- • Improves visibility into RISC-V binaries by supporting new note types.
- • Minimal performance impact, primarily affects parsing of ELF files with these notes.
All attributes
- project
- binutils
- subsystem
- readelf
- patch_id
- —
- discussion_id
- 20260909055707.20097-1-heinrich.schuchardt@canonical.com
- source_type
- public_inbox
- title
- readelf: add support for more RISC-V note types
- headline
- Add RISC-V note types to readelf
- tldr
- Readelf now supports displaying new RISC-V note types for vector, tagged address control, and user CFI.
- proposer
- Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
- consensus
- Proposed
- outcome
- needs_revision
- sentiment_score
- 8
- technical_tradeoffs
-
- • Improves visibility into RISC-V binaries by supporting new note types.
- • Minimal performance impact, primarily affects parsing of ELF files with these notes.
- series_id
- binutils:readelf: add support for more risc-v note types
- series_role
- reply
- series_parts
- []
- tags
-
- • readelf
- • RISC-V
- • ELF
- • notes
- bugzilla_url
- —
- date
- 2026-09-09T00:00:00.000Z
readelf: add support for more RISC-V note types
This patch updates the readelf utility to recognize and display three new RISC-V-specific ELF note types: NT_RISCV_VECTOR, NT_RISCV_TAGGED_ADDR_CTRL, and NT_RISCV_USER_CFI. These additions align binutils with recent definitions in the Linux kernel’s ELF headers, enabling better inspection of RISC-V executables.