summaryrefslogtreecommitdiff
path: root/m4/stack-direction.m4
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2021-12-06 01:16:10 +0100
committerBruno Haible <bruno@clisp.org>2021-12-06 01:16:10 +0100
commiteadc887beefb5cc94fa7ac22f82b2abdd4fbf810 (patch)
tree741b52ed41e04cd6d52f6c84c11c144c8929ea26 /m4/stack-direction.m4
parent135414a7f543e4d40ad0a7cbd51885e159a6e0f4 (diff)
downloadgnulib-eadc887beefb5cc94fa7ac22f82b2abdd4fbf810.tar.gz
sigsegv: Fix build on some more embedded CPUs.
* m4/stack-direction.m4 (SV_STACK_DIRECTION): Assume the stack grows negative, when the GCC 11 sources say so.
Diffstat (limited to 'm4/stack-direction.m4')
-rw-r--r--m4/stack-direction.m422
1 files changed, 20 insertions, 2 deletions
diff --git a/m4/stack-direction.m4 b/m4/stack-direction.m4
index 29e398d77a..b33920f288 100644
--- a/m4/stack-direction.m4
+++ b/m4/stack-direction.m4
@@ -1,4 +1,4 @@
-# stack-direction.m4 serial 9
+# stack-direction.m4 serial 10
dnl Copyright (C) 2002-2021 Free Software Foundation, Inc.
dnl This file is free software, distributed under the terms of the GNU
dnl General Public License. As a special exception to the GNU General
@@ -24,15 +24,23 @@ AC_DEFUN([SV_STACK_DIRECTION],
bfin | \
c1 | c2 | c32 | c34 | c38 | \
clipper | \
+ cr16 | \
cris | \
+ csky | \
d30v | \
+ epiphany | \
elxsi | \
fr30 | \
+ frv | \
+ ft32 | \
h8300 | \
i?86 | x86_64 | \
i860 | \
ia64 | \
+ iq2000 | \
+ lm32 | \
loongarch* | \
+ m32c | \
m32r | \
m68* | \
m88k | \
@@ -42,20 +50,30 @@ AC_DEFUN([SV_STACK_DIRECTION],
mmix | \
mn10200 | \
mn10300 | \
- nios2 | \
+ moxie | \
+ msp430 | \
nds32* | \
+ nios2 | nios2eb | nios2el | \
ns32k | \
+ nvptx | \
or1k | \
pdp11 | \
pj* | \
powerpc* | rs6000 | \
+ pru | \
riscv* | \
+ rl78 | \
romp | \
+ rx | \
s390* | \
sh* | \
sparc* | \
+ tic6x | \
+ tilegx | \
+ tilepro | \
v850 | \
vax | \
+ visium | \
xtensa)
sv_cv_stack_direction=-1 ;;
c4x | \