aboutsummaryrefslogtreecommitdiff
path: root/packages/gcc/12.3.0/0003-libgcc-disable-split-stack-nothreads.patch
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2023-05-09 20:14:51 +1200
committerChris Packham <judge.packham@gmail.com>2023-05-14 10:34:29 +1200
commit8e55ab0607c01fc8a443bdac41c2d947db8830fb (patch)
tree501d62d2b1b89a64374d41e4f90e318a7669a689 /packages/gcc/12.3.0/0003-libgcc-disable-split-stack-nothreads.patch
parent2282a97e3c3eea29cf45bd3757fb93b83f17f907 (diff)
downloadcrosstool-ng-8e55ab0607c01fc8a443bdac41c2d947db8830fb.tar.gz
crosstool-ng-8e55ab0607c01fc8a443bdac41c2d947db8830fb.tar.bz2
crosstool-ng-8e55ab0607c01fc8a443bdac41c2d947db8830fb.zip
gcc: Add 12.3.0
Add gcc 12.3.0 and regenerate patches against the new version. https://gcc.gnu.org/pipermail/gcc-announce/2023/000176.html https://gcc.gnu.org/gcc-12/changes.html Signed-off-by: Chris Packham <judge.packham@gmail.com>
Diffstat (limited to 'packages/gcc/12.3.0/0003-libgcc-disable-split-stack-nothreads.patch')
-rw-r--r--packages/gcc/12.3.0/0003-libgcc-disable-split-stack-nothreads.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/gcc/12.3.0/0003-libgcc-disable-split-stack-nothreads.patch b/packages/gcc/12.3.0/0003-libgcc-disable-split-stack-nothreads.patch
new file mode 100644
index 00000000..df91a9ff
--- /dev/null
+++ b/packages/gcc/12.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