[all-commits] [llvm/llvm-project] c4a144: [lld][ELF] Add basic TLSDESC support for LoongArch

wanglei via All-commits all-commits at lists.llvm.org
Fri Jun 14 00:12:20 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c4a1440c149d3ea03f14fd6858b6be3a2faf9af6
      https://github.com/llvm/llvm-project/commit/c4a1440c149d3ea03f14fd6858b6be3a2faf9af6
  Author: wanglei <wanglei at loongson.cn>
  Date:   2024-06-14 (Fri, 14 Jun 2024)

  Changed paths:
    M lld/ELF/Arch/LoongArch.cpp
    M lld/ELF/InputSection.cpp
    M lld/ELF/Relocations.cpp
    M lld/ELF/Relocations.h
    A lld/test/ELF/loongarch-tlsdesc-gd-mixed.s
    A lld/test/ELF/loongarch-tlsdesc.s

  Log Message:
  -----------
  [lld][ELF] Add basic TLSDESC support for LoongArch

LoongArch does not yet implement transition from TLSDESC to LE/IE,
so TLSDESC dynamic relocation needs to be generated for each desc,
which is ultimately handled by the dynamic linker.

The test cases reference RISC-V: #79239

Reviewed By: MaskRay, SixWeining

Pull Request: https://github.com/llvm/llvm-project/pull/94451



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