Landing: 2a6fb1798b6a
Project / Subsystem
binutils / bfd/loongarch
Date
2026-07-10
Author
liu zhensong <liuzhensong@sourceware.org>
Commit
2a6fb1798b6a81d57985494bba284239505a23ff
Source
public_inbox
Perf win
No
Breaking
No
All attributes
- project
- binutils
- subsystem
- bfd/loongarch
- patch_id
- —
- commit_hash
- 2a6fb1798b6a81d57985494bba284239505a23ff
- source_type
- public_inbox
- headline
- LoongArch: Correct size for TLS DESC64 relocations
- tldr
- Fixes LoongArch TLS DESC64 relocation sizes from 8 bytes to 4 bytes for improved accuracy.
- author
- liu zhensong <liuzhensong@sourceware.org>
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • loongarch
- • bfd
- • relocations
- • tls
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-07-10T00:00:00.000Z
This commit corrects the size specification for LoongArch’s R_LARCH_TLS_DESC64_* relocations in the BFD library. Previously, these relocations were incorrectly defined as 8 bytes in size. This change rectifies the size to 4 bytes, ensuring that the assembler and linker handle these specific Thread-Local Storage descriptor relocations accurately, which is crucial for correct program execution.