Landing: 46709f190eb7
Project / Subsystem
binutils / gas/aarch64
Date
2026-07-08
Author
SRINATH PARVATHENI <sripar01@sourceware.org>
Commit
46709f190eb7ddf3888226feec6c1e13984cfcc9
Source
public_inbox
Perf win
No
Breaking
No
All attributes
- project
- binutils
- subsystem
- gas/aarch64
- patch_id
- —
- commit_hash
- 46709f190eb7ddf3888226feec6c1e13984cfcc9
- source_type
- public_inbox
- headline
- AArch64 assembler enforces 8-byte DTPREL relocations.
- tldr
- AArch64 assembler rejects DTPREL relocations that are not 8 bytes wide, enforcing ABI compliance.
- author
- SRINATH PARVATHENI <sripar01@sourceware.org>
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • gas
- • aarch64
- • tls
- • relocation
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-07-08T00:00:00.000Z
The AArch64 ELF ABI mandates that DTPREL (Dynamic Thread Pointer Relative) relocations must be 8 bytes wide. This commit updates the AArch64 assembler to check the size of %dtprel relocations and reject them if they are not used with .xword or .dword, thereby enforcing the ABI requirement.