aboutsummaryrefslogtreecommitdiffstats
path: root/main/gcc/0051-go-gospec-forcibly-disable-fsplit-stack-support.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/gcc/0051-go-gospec-forcibly-disable-fsplit-stack-support.patch')
-rw-r--r--main/gcc/0051-go-gospec-forcibly-disable-fsplit-stack-support.patch33
1 files changed, 0 insertions, 33 deletions
diff --git a/main/gcc/0051-go-gospec-forcibly-disable-fsplit-stack-support.patch b/main/gcc/0051-go-gospec-forcibly-disable-fsplit-stack-support.patch
deleted file mode 100644
index 319b1ef8a95..00000000000
--- a/main/gcc/0051-go-gospec-forcibly-disable-fsplit-stack-support.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From dba87d9796b61f4f3eea83c200a2d208564e2277 Mon Sep 17 00:00:00 2001
-From: Ariadne Conill <ariadne@dereferenced.org>
-Date: Mon, 21 Feb 2022 10:04:47 +0000
-Subject: [PATCH] go/gospec: forcibly disable -fsplit-stack support
-
-for some reason, TARGET_CAN_SPLIT_STACK still gets defined on 32-bit x86,
-so hackfix it for now
----
- gcc/go/gospec.c | 5 +++--
- 1 file changed, 3 insertions(+), 2 deletions(-)
-
-diff --git a/gcc/go/gospec.c b/gcc/go/gospec.c
-index cf8d0f2b60e..d5bfa57ea45 100644
---- a/gcc/go/gospec.c
-+++ b/gcc/go/gospec.c
-@@ -269,11 +269,12 @@ lang_specific_driver (struct cl_decoded_option **in_decoded_options,
- /* Copy the 0th argument, i.e., the name of the program itself. */
- new_decoded_options[j++] = decoded_options[i++];
-
--#ifdef TARGET_CAN_SPLIT_STACK
-+ /* Hackfix: we never support split stack on Alpine GCC */
-+#if 0
- supports_split_stack = 1;
- #endif
-
--#ifdef TARGET_CAN_SPLIT_STACK_64BIT
-+#if 0
- if (is_m64)
- supports_split_stack = 1;
- #endif
---
-2.35.1
-