[clang] [Driver] Drop SUSE SLES 11 support (PR #210223)

Brad Smith via cfe-commits cfe-commits at lists.llvm.org
Sun Jul 19 05:54:28 PDT 2026


https://github.com/brad0 updated https://github.com/llvm/llvm-project/pull/210223

>From 3ac4750f8fa43154126bbf5acb6df83ad65583c7 Mon Sep 17 00:00:00 2001
From: Brad Smith <brad at comstyle.com>
Date: Thu, 16 Jul 2026 21:10:56 -0400
Subject: [PATCH] [Driver] Remove SUSE SLES special casing for hash-style

---
 clang/lib/Driver/ToolChains/Linux.cpp | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/clang/lib/Driver/ToolChains/Linux.cpp b/clang/lib/Driver/ToolChains/Linux.cpp
index 6dca14d8bf0a8..a01442f3b23e2 100644
--- a/clang/lib/Driver/ToolChains/Linux.cpp
+++ b/clang/lib/Driver/ToolChains/Linux.cpp
@@ -317,13 +317,8 @@ Linux::Linux(const Driver &D, const llvm::Triple &Triple, const ArgList &Args)
   // .gnu.hash needs symbols to be grouped by hash code whereas the MIPS
   // ABI requires a mapping between the GOT and the symbol table.
   // Hexagon linker/loader does not support .gnu.hash.
-  // SUSE SLES 11 will stop being supported Mar 2028.
-  if (!IsMips && !IsHexagon) {
-    if (Distro.IsOpenSUSE())
-      ExtraOpts.push_back("--hash-style=both");
-    else
-      ExtraOpts.push_back("--hash-style=gnu");
-  }
+  if (!IsMips && !IsHexagon)
+    ExtraOpts.push_back("--hash-style=gnu");
 
 #ifdef ENABLE_LINKER_BUILD_ID
   ExtraOpts.push_back("--build-id");



More information about the cfe-commits mailing list