aboutsummaryrefslogtreecommitdiff
path: root/packages/gcc/11.4.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-31 20:21:59 +1200
commitd855363eee3848fd5c5f3aa1477a7d03fa4886c0 (patch)
treea0a931c7a4bbea4dcfc23f726ac667da289f1c37 /packages/gcc/11.4.0/0003-libgcc-disable-split-stack-nothreads.patch
parent72e07cce8faef4c584cb9eff47ba922fe0db461f (diff)
downloadcrosstool-ng-d855363eee3848fd5c5f3aa1477a7d03fa4886c0.tar.gz
crosstool-ng-d855363eee3848fd5c5f3aa1477a7d03fa4886c0.tar.bz2
crosstool-ng-d855363eee3848fd5c5f3aa1477a7d03fa4886c0.zip
gcc: Add 11.4.0
Add gcc 11.4.0 and regenerate patches against the new version. https://gcc.gnu.org/pipermail/gcc-announce/2023/000177.html https://gcc.gnu.org/gcc-11/changes.html Signed-off-by: Chris Packham <judge.packham@gmail.com>
Diffstat (limited to 'packages/gcc/11.4.0/0003-libgcc-disable-split-stack-nothreads.patch')
-rw-r--r--packages/gcc/11.4.0/0003-libgcc-disable-split-stack-nothreads.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/gcc/11.4.0/0003-libgcc-disable-split-stack-nothreads.patch b/packages/gcc/11.4.0/0003-libgcc-disable-split-stack-nothreads.patch
new file mode 100644
index 00000000..df91a9ff
--- /dev/null
+++ b/packages/gcc/11.4.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