]> Savannah Git Hosting - gnulib.git/commitdiff
sigsegv: Fix build on some more embedded CPUs.
authorBruno Haible <bruno@clisp.org>
Mon, 6 Dec 2021 00:16:10 +0000 (01:16 +0100)
committerBruno Haible <bruno@clisp.org>
Mon, 6 Dec 2021 00:16:10 +0000 (01:16 +0100)
* m4/stack-direction.m4 (SV_STACK_DIRECTION): Assume the stack grows
negative, when the GCC 11 sources say so.

ChangeLog
m4/stack-direction.m4

index 82819f801f3f31e131083a810d2fab32f0053a59..bc8da213ee56160fd1134b86bb0c789300fcaca6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2021-12-05  Bruno Haible  <bruno@clisp.org>
+
+       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.
+
 2021-11-30  Paul Eggert  <eggert@cs.ucla.edu>
 
        sys_random: port better to uClibc < 1.0.35
index 29e398d77a3e7efeb4424f4b44fc0ef84b70d87d..b33920f2885ae7aeb83e6f6ccaaf30b0e76c4e43 100644 (file)
@@ -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 | \