[lld] [NFC][ELF] Remove unused R_TLS*_HINT RelExprs (PR #210519)
Jessica Clarke via llvm-commits
llvm-commits at lists.llvm.org
Sat Jul 18 08:44:10 PDT 2026
https://github.com/jrtc27 created https://github.com/llvm/llvm-project/pull/210519
As of 5e87f8147d68 ("[ELF] Add target-specific relocation scanning for
PPC32 (#181517)") these are never generated, and as of 46d29d43ba8e
("[ELF] Remove unused handleTlsRelocation (#184951)") these are not even
handled anywhere.
>From bc3e07a0ec000961aea89432bb334a36bd685ead Mon Sep 17 00:00:00 2001
From: Jessica Clarke <jrtc27 at jrtc27.com>
Date: Sat, 18 Jul 2026 16:11:01 +0100
Subject: [PATCH] [NFC][ELF] Remove unused R_TLS*_HINT RelExprs
As of 5e87f8147d68 ("[ELF] Add target-specific relocation scanning for
PPC32 (#181517)") these are never generated, and as of 46d29d43ba8e
("[ELF] Remove unused handleTlsRelocation (#184951)") these are not even
handled anywhere.
---
lld/ELF/Relocations.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/lld/ELF/Relocations.h b/lld/ELF/Relocations.h
index b7b247d7655d7..5ae053d3af793 100644
--- a/lld/ELF/Relocations.h
+++ b/lld/ELF/Relocations.h
@@ -72,11 +72,9 @@ enum RelExpr {
R_TLSGD_GOT,
R_TLSGD_GOTPLT,
R_TLSGD_PC,
- R_TLSIE_HINT,
R_TLSLD_GOT,
R_TLSLD_GOTPLT,
R_TLSLD_GOT_OFF,
- R_TLSLD_HINT,
R_TLSLD_PC,
// The following is abstract relocation types used for only one target.
More information about the llvm-commits
mailing list