0004-sigsegv-Fix-compilation-error-on-arceb-CPUs.patch 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. From 1957bb5113a2bf02c7ecf0815125eec04b9476d2 Mon Sep 17 00:00:00 2001
  2. From: Bruno Haible <bruno@clisp.org>
  3. Date: Sat, 16 Apr 2022 03:01:51 +0200
  4. Subject: sigsegv: Fix compilation error on arceb CPUs.
  5. Reported by Fabrice Fontaine <fontaine.fabrice@gmail.com> in
  6. <https://lists.gnu.org/archive/html/bug-gnulib/2022-04/msg00028.html>.
  7. * m4/stack-direction.m4 (SV_STACK_DIRECTION): Treat the 'arc' variants
  8. like 'arc'.
  9. [Retrieved (and backported) from:
  10. https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=1957bb5113a2bf02c7ecf0815125eec04b9476d2]
  11. Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
  12. ---
  13. ChangeLog | 8 ++++++++
  14. m4/stack-direction.m4 | 4 ++--
  15. 2 files changed, 10 insertions(+), 2 deletions(-)
  16. diff --git a/m4/stack-direction.m4 b/m4/stack-direction.m4
  17. index 1df823e..924c5de 100644
  18. --- a/m4/stack-direction.m4
  19. +++ b/m4/stack-direction.m4
  20. @@ -1,4 +1,4 @@
  21. -# stack-direction.m4 serial 7
  22. +# stack-direction.m4 serial 11
  23. dnl Copyright (C) 2002-2021 Free Software Foundation, Inc.
  24. dnl This file is free software, distributed under the terms of the GNU
  25. dnl General Public License. As a special exception to the GNU General
  26. @@ -18,7 +18,7 @@ AC_DEFUN([SV_STACK_DIRECTION],
  27. a29k | \
  28. aarch64* | \
  29. alpha* | \
  30. - arc | \
  31. + arc | arceb | arc32 | arc64 | \
  32. arm* | strongarm* | xscale* | \
  33. avr | avr32 | \
  34. bfin | \
  35. --
  36. cgit v1.1