diff options
author | 2024-05-24 05:52:36 +0100 | |
---|---|---|
committer | 2024-05-24 05:52:49 +0100 | |
commit | 17e4c9c2c64242745ac0ed67f2b0ac394f22fe0a (patch) | |
tree | 1004f92bb4947ee1d4a77f6c5174f107eae57ae7 | |
parent | 14.1.0: musl: add context to 50_all_posix_memalign.patch (diff) | |
download | gcc-patches-17e4c9c2c64242745ac0ed67f2b0ac394f22fe0a.tar.gz gcc-patches-17e4c9c2c64242745ac0ed67f2b0ac394f22fe0a.tar.bz2 gcc-patches-17e4c9c2c64242745ac0ed67f2b0ac394f22fe0a.zip |
14.1.0: musl: drop 50_all_cpu_indicator.patch
Followup as I promised in d9d0da50dd6c0967acf49cbfa82c664a915988c1.
This patch was first added in ::musl in cabbb3a81cd2196cc4cc519a9ab165d8e0f08d0a [0].
It was fixed upstream in GCC in 9d8f95deca5b9a5ba63c638cf96f4678c68d2bd0 (r7-4472-g9d8f95deca5b9a)
and hence is long-obsolete.
Thanks again to awilfox.
[0] https://github.com/gentoo/musl/commit/cabbb3a81cd2196cc4cc519a9ab165d8e0f08d0a
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r-- | 14.1.0/musl/50_all_cpu_indicator.patch | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/14.1.0/musl/50_all_cpu_indicator.patch b/14.1.0/musl/50_all_cpu_indicator.patch deleted file mode 100644 index ced7938..0000000 --- a/14.1.0/musl/50_all_cpu_indicator.patch +++ /dev/null @@ -1,39 +0,0 @@ -https://gcc.gnu.org/pipermail/gcc-patches/2023-February/612648.html -https://gcc.gnu.org/legacy-ml/gcc-patches/2015-05/msg00899.html -https://gcc.gnu.org/PR65612 - -From d16a8ceb1c3c8a7ec381090b4c316ff4c55661c0 Mon Sep 17 00:00:00 2001 -From: -Date: Thu, 7 May 2020 21:14:11 -0500 -Subject: [PATCH] convert "__cpu_indicator_init" to - "__cpu_indicator_init_local" - ---- a/gcc/config/i386/i386-expand.cc -+++ b/gcc/config/i386/i386-expand.cc -@@ -12338,10 +12338,10 @@ ix86_expand_builtin (tree exp, rtx target, rtx subtarget, - { - case IX86_BUILTIN_CPU_INIT: - { -- /* Make it call __cpu_indicator_init in libgcc. */ -+ /* Make it call __cpu_indicator_init_local in libgcc. */ - tree call_expr, fndecl, type; - type = build_function_type_list (integer_type_node, NULL_TREE); -- fndecl = build_fn_decl ("__cpu_indicator_init", type); -+ fndecl = build_fn_decl ("__cpu_indicator_init_local", type); - call_expr = build_call_expr (fndecl, 0); - return expand_expr (call_expr, target, mode, EXPAND_NORMAL); - } - ---- a/libgcc/config/i386/cpuinfo.c -+++ b/libgcc/config/i386/cpuinfo.c -@@ -508,7 +508,7 @@ __cpu_indicator_init (void) - return 0; - } - --#if defined SHARED && defined USE_ELF_SYMVER --__asm__ (".symver __cpu_indicator_init, __cpu_indicator_init@GCC_4.8.0"); --__asm__ (".symver __cpu_model, __cpu_model@GCC_4.8.0"); -+#ifndef SHARED -+int __cpu_indicator_init_local (void) -+ __attribute__ ((weak, alias ("__cpu_indicator_init"))); - #endif |