aboutsummaryrefslogtreecommitdiff
path: root/packages/gcc/13.3.0/0003-libgcc-disable-split-stack-nothreads.patch
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2024-05-22 18:32:11 +1200
committerChris Packham <judge.packham@gmail.com>2024-05-24 10:14:49 +1200
commit06fad54c849004777267aadc504096947181de28 (patch)
tree003dcead7373c33b4d762ee86343faa92b7233d9 /packages/gcc/13.3.0/0003-libgcc-disable-split-stack-nothreads.patch
parente58fd0a23e84cec8b27a13e614068117076958d9 (diff)
downloadcrosstool-ng-06fad54c849004777267aadc504096947181de28.tar.gz
crosstool-ng-06fad54c849004777267aadc504096947181de28.tar.bz2
crosstool-ng-06fad54c849004777267aadc504096947181de28.zip
gcc: Add GCC 13.3.0
https://gcc.gnu.org/pipermail/gcc-announce/2024/000181.html Add the new version dropping patches that have been applied upstream. Signed-off-by: Chris Packham <judge.packham@gmail.com>
Diffstat (limited to 'packages/gcc/13.3.0/0003-libgcc-disable-split-stack-nothreads.patch')
-rw-r--r--packages/gcc/13.3.0/0003-libgcc-disable-split-stack-nothreads.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/gcc/13.3.0/0003-libgcc-disable-split-stack-nothreads.patch b/packages/gcc/13.3.0/0003-libgcc-disable-split-stack-nothreads.patch
new file mode 100644
index 00000000..df91a9ff
--- /dev/null
+++ b/packages/gcc/13.3.0/0003-libgcc-disable-split-stack-nothreads.patch
@@ -0,0 +1,17 @@
+disable split-stack for non-thread builds
+
+Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
+
+---
+ libgcc/config/t-stack | 2 ++
+ 1 file changed, 2 insertions(+)
+
+--- a/libgcc/config/t-stack
++++ b/libgcc/config/t-stack
+@@ -1,4 +1,6 @@
+ # Makefile fragment to provide generic support for -fsplit-stack.
+ # This should be used in config.host for any host which supports
+ # -fsplit-stack.
++ifeq ($(enable_threads),yes)
+ LIB2ADD_ST += $(srcdir)/generic-morestack.c $(srcdir)/generic-morestack-thread.c
++endif