From b50c6442e43d79471a31a2a202d3e50c0557446f Mon Sep 17 00:00:00 2001 From: Sun Haiyong Date: Sat, 4 Sep 2021 15:06:43 +0200 Subject: sigsegv: Improve cross-compilation support for LoongArch CPU. * m4/stack-direction.m4 (SV_STACK_DIRECTION): Assume the stack grows down on LoongArch. --- ChangeLog | 6 ++++++ m4/stack-direction.m4 | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 015f20b1e4..0c18a58ebf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2021-09-04 Sun Haiyong (tiny change) + + sigsegv: Improve cross-compilation support for LoongArch CPU. + * m4/stack-direction.m4 (SV_STACK_DIRECTION): Assume the stack grows + down on LoongArch. + 2021-09-04 Simon Josefsson doc: Improve help related to bootstrap script. diff --git a/m4/stack-direction.m4 b/m4/stack-direction.m4 index 93287254b1..e682be97dd 100644 --- a/m4/stack-direction.m4 +++ b/m4/stack-direction.m4 @@ -1,4 +1,4 @@ -# stack-direction.m4 serial 7 +# stack-direction.m4 serial 8 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 @@ -32,6 +32,7 @@ AC_DEFUN([SV_STACK_DIRECTION], i?86 | x86_64 | \ i860 | \ ia64 | \ + loongarch* | \ m32r | \ m68* | \ m88k | \ -- cgit v1.2.1