https://github.com/brad0 updated https://github.com/llvm/llvm-project/pull/162518
>From 5ed713889daa8bf71f11c96398b23567d5382488 Mon Sep 17 00:00:00 2001 From: Brad Smith <[email protected]> Date: Wed, 8 Oct 2025 13:41:08 -0400 Subject: [PATCH] [Driver] Remove special handling for older Ubuntu Releases of Ubuntu that do not support the GNU hash style are long unsupported. --- clang/lib/Driver/ToolChains/Linux.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/clang/lib/Driver/ToolChains/Linux.cpp b/clang/lib/Driver/ToolChains/Linux.cpp index 16e35b08cfbd6..aa53418b2efdd 100644 --- a/clang/lib/Driver/ToolChains/Linux.cpp +++ b/clang/lib/Driver/ToolChains/Linux.cpp @@ -302,10 +302,9 @@ Linux::Linux(const Driver &D, const llvm::Triple &Triple, const ArgList &Args) // ABI requires a mapping between the GOT and the symbol table. // Android loader does not support .gnu.hash until API 23. // Hexagon linker/loader does not support .gnu.hash + // SUSE SLES 11 will stop being supported Mar 28. if (!IsMips && !IsHexagon) { - if (Distro.IsOpenSUSE() || Distro == Distro::UbuntuLucid || - Distro == Distro::UbuntuJaunty || Distro == Distro::UbuntuKarmic || - (IsAndroid && Triple.isAndroidVersionLT(23))) + if (Distro.IsOpenSUSE() || (IsAndroid && Triple.isAndroidVersionLT(23))) ExtraOpts.push_back("--hash-style=both"); else ExtraOpts.push_back("--hash-style=gnu"); _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
