[lld] [lld][ELF] Add basic TLSDESC support for LoongArch (PR #94451)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 13 23:24:03 PDT 2024


================
@@ -1297,6 +1297,18 @@ static unsigned handleTlsRelocation(RelType type, Symbol &sym,
 
   if (config->emachine == EM_MIPS)
     return handleMipsTlsRelocation(type, sym, c, offset, addend, expr);
+
+  // LoongArch does not yet implement transition from TLS DESC to LE/IE, so
----------------
MaskRay wrote:

`TLS DESC` => `TLSDESC`

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


More information about the llvm-commits mailing list