[PATCH v1] aarch64: Fix assembler internal error for %dtprel relocations
Project / Subsystem
binutils / aarch64
Date
2026-07-06
Proposer
srinath.parvathaneni@arm.com
Source type
public_inbox
Consensus
Proposed
Sentiment
7/10
All attributes
- project
- binutils
- subsystem
- aarch64
- patch_id
- —
- discussion_id
- 20260706094728.1788418-1-srinath.parvathaneni@arm.com
- source_type
- public_inbox
- title
- [PATCH v1] aarch64: Fix assembler internal error for %dtprel relocations
- headline
- aarch64: Fix assembler error for %dtprel relocations
- tldr
- Srinath Parvathaneni proposes a fix for an assembler internal error related to %dtprel relocations on AArch64.
- proposer
- srinath.parvathaneni@arm.com
- consensus
- Proposed
- outcome
- proposed
- sentiment_score
- 7
- technical_tradeoffs
- []
- series_id
- —
- series_role
- standalone
- series_parts
- []
- tags
-
- • aarch64
- • assembler
- • relocation
- • tls
- • dwarf
- bugzilla_url
- —
- date
- 2026-07-06T00:00:00.000Z
[PATCH v1] aarch64: Fix assembler internal error for %dtprel relocations
Srinath Parvathaneni submits a patch to fix an internal assembler error on AArch64 when handling %dtprel relocations. The issue occurs because the DTPREL fixup was created before reserving storage for the corresponding ‘.xword’, causing problems with TLS DWARF debug information, particularly when placed at a fragment boundary. The patch corrects the storage order to resolve this corner case.