Landing: bfc3ac0d13b5
Project / Subsystem
binutils / loongarch
Date
2026-07-10
Author
liu zhensong <liuzhensong@sourceware.org>
Commit
bfc3ac0d13b52a400aea7221603a5ac69510f471
Source
public_inbox
Perf win
No
Breaking
No
All attributes
- project
- binutils
- subsystem
- loongarch
- patch_id
- —
- commit_hash
- bfc3ac0d13b52a400aea7221603a5ac69510f471
- source_type
- public_inbox
- headline
- LoongArch: Simplify TLS DTPREL relocation processing
- tldr
- Improves LoongArch TLS DTPREL32/64 relocation handling by simplifying logic and setting partial_inplace to false for RELA relocations.
- author
- liu zhensong <liuzhensong@sourceware.org>
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • loongarch
- • tls
- • relocations
- • elf
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-07-10T00:00:00.000Z
This commit simplifies the processing of R_LARCH_TLS_DTPREL32/64 relocations on LoongArch by returning the offset to the TLS block for the symbol. It also corrects the relocation type by setting partial_inplace to false, acknowledging that LoongArch uses RELA relocations. This change contributes to more accurate and efficient handling of Thread-Local Storage (TLS) in the LoongArch toolchain.