[lld] 2144ee4 - [NFC][ELF] Remove unused R_TLSDESC_CALL RelExpr (#210518)

via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 18 08:43:56 PDT 2026


Author: Jessica Clarke
Date: 2026-07-18T16:43:52+01:00
New Revision: 2144ee4e19c4cf4501daed8d71aec68af1b9a8a6

URL: https://github.com/llvm/llvm-project/commit/2144ee4e19c4cf4501daed8d71aec68af1b9a8a6
DIFF: https://github.com/llvm/llvm-project/commit/2144ee4e19c4cf4501daed8d71aec68af1b9a8a6.diff

LOG: [NFC][ELF] Remove unused R_TLSDESC_CALL RelExpr (#210518)

As of 4ea72c1e8cbd ("[ELF] Add target-specific relocation scanning for
RISC-V (#181332)") this is never generated, and as of 46d29d43ba8e
("[ELF] Remove unused handleTlsRelocation (#184951)") this is not even
handled anywhere.

Added: 
    

Modified: 
    lld/ELF/Relocations.h

Removed: 
    


################################################################################
diff  --git a/lld/ELF/Relocations.h b/lld/ELF/Relocations.h
index 5615103fe7a39..b7b247d7655d7 100644
--- a/lld/ELF/Relocations.h
+++ b/lld/ELF/Relocations.h
@@ -67,7 +67,6 @@ enum RelExpr {
   R_TPREL,
   R_TPREL_NEG,
   R_TLSDESC,
-  R_TLSDESC_CALL,
   R_TLSDESC_PC,
   R_TLSDESC_GOTPLT,
   R_TLSGD_GOT,


        


More information about the llvm-commits mailing list