[PATCH 3/4] bfd: pe: Revise pdata sorting conditional
Project / Subsystem
binutils / bfd
Date
2026-09-13
Proposer
Jon Turney <jon.turney@dronecode.org.uk>
Source type
public_inbox
Consensus
Proposed
Sentiment
—/10
Technical tradeoffs
- • Ensures correct sorting of .pdata sections across more architectures.
- • Addresses a potential misinterpretation of PE specification requirements.
All attributes
- project
- binutils
- subsystem
- bfd
- patch_id
- —
- discussion_id
- 20260913123323.9734-4-jon.turney@dronecode.org.uk
- source_type
- public_inbox
- title
- [PATCH 3/4] bfd: pe: Revise pdata sorting conditional
- headline
- bfd: pe: Revise pdata sorting conditional
- tldr
- Correctly sort PE .pdata sections for architectures that support it.
- proposer
- Jon Turney <jon.turney@dronecode.org.uk>
- consensus
- Proposed
- outcome
- proposed
- sentiment_score
- —
- technical_tradeoffs
-
- • Ensures correct sorting of .pdata sections across more architectures.
- • Addresses a potential misinterpretation of PE specification requirements.
- series_id
- binutils:bfd: pe: revise pdata sorting conditional
- series_role
- reply
- series_parts
- []
- tags
-
- • bfd
- • pe
- • pdata
- • sorting
- • architecture
- bugzilla_url
- —
- date
- 2026-09-13T00:00:00.000Z
[PATCH 3/4] bfd: pe: Revise pdata sorting conditional
This patch revises the conditional logic for sorting the .pdata section in PE files. Historically, sorting was limited to x86_64, which is seen as an oversight as the PE specification mandates sorting for all relevant architectures. The change rewrites the condition to positively identify architectures that support .pdata sorting, addressing potential issues for architectures like ia64 and others where it might have been incorrectly disabled.