[lld] [lld][ELF] Add basic TLSDESC support for LoongArch (PR #94451)
    via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed Jun  5 18:16:03 PDT 2024
    
    
  
================
@@ -1303,6 +1303,19 @@ static unsigned handleTlsRelocation(RelType type, Symbol &sym,
 
   if (config->emachine == EM_MIPS)
     return handleMipsTlsRelocation(type, sym, c, offset, addend, expr);
+
+  // LoongArch does not yet implemented TLSDESC transition of DESC to LE/IE.
+  // Generates TLSDESC dynamic relocation for the symbol that is handled by the
+  // dynamic linker.
----------------
wangleiat wrote:
Thanks.
https://github.com/llvm/llvm-project/pull/94451
    
    
More information about the llvm-commits
mailing list