[all-commits] [llvm/llvm-project] f50238: [lld][LoongArch] Handle DTPREL relocations in debu...

hev via All-commits all-commits at lists.llvm.org
Fri May 29 00:51:16 PDT 2026


  Branch: refs/heads/users/hev/lld-dtprel
  Home:   https://github.com/llvm/llvm-project
  Commit: f50238a6b261ed77f0857fa51f559fcbe0f5140a
      https://github.com/llvm/llvm-project/commit/f50238a6b261ed77f0857fa51f559fcbe0f5140a
  Author: WANG Rui <r at hev.cc>
  Date:   2026-05-29 (Fri, 29 May 2026)

  Changed paths:
    M lld/ELF/Arch/LoongArch.cpp
    A lld/test/ELF/loongarch-tls-dtprel.s

  Log Message:
  -----------
  [lld][LoongArch] Handle DTPREL relocations in debug sections

Teach the LoongArch lld backend to classify R_LARCH_TLS_DTPREL32
and R_LARCH_TLS_DTPREL64 as R_DTPREL.

This allows linker processing of TLS debug info references emitted
into .debug_info via .dtprelword/.dtpreldword. Add 32-bit and 64-bit
tests that assemble objects with DTPREL relocations in debug sections.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list