[PATCH] gas: Add AArch64 Windows SEH (pdata/xdata) support
Project / Subsystem
binutils / gas
Date
2026-08-04
Proposer
trcrsired <oyzawqgcfc@gmail.com>
Source type
public_inbox
Consensus
Proposed
Sentiment
—/10
Technical tradeoffs
- • Adds support for a specific Windows ABI on AArch64, increasing code size and complexity in GAS.
- • Ensures compatibility with Windows exception handling mechanisms, crucial for developing robust applications.
All attributes
- project
- binutils
- subsystem
- gas
- patch_id
- —
- discussion_id
- 20260804180213.1588044-1-oyzawqgcfc@gmail.com
- source_type
- public_inbox
- title
- [PATCH] gas: Add AArch64 Windows SEH (pdata/xdata) support
- headline
- gas: Add AArch64 Windows SEH (pdata/xdata) support
- tldr
- Adds AArch64 Windows exception handling support to the GAS assembler.
- proposer
- trcrsired <oyzawqgcfc@gmail.com>
- consensus
- Proposed
- outcome
- proposed
- sentiment_score
- —
- technical_tradeoffs
-
- • Adds support for a specific Windows ABI on AArch64, increasing code size and complexity in GAS.
- • Ensures compatibility with Windows exception handling mechanisms, crucial for developing robust applications.
- series_id
- —
- series_role
- standalone
- series_parts
- []
- tags
-
- • binutils
- • gas
- • AArch64
- • Windows
- • SEH
- bugzilla_url
- —
- date
- 2026-08-04T00:00:00.000Z
[PATCH] gas: Add AArch64 Windows SEH (pdata/xdata) support
This patch introduces support for Windows Structured Exception Handling (SEH) in the GNU Assembler (GAS) for the AArch64 architecture targeting Windows (aarch64-w64-mingw32). It extends existing SEH handling logic, which previously only supported x64, to include AArch64-specific unwind directives, correct xdata header layout, and accurate function length calculation. This enables GAS to generate correct SEH unwind information for AArch64 Windows executables.