1
0
mirror of https://https.git.savannah.gnu.org/git/gnulib.git synced 2026-05-13 15:13:36 +00:00

sigsegv: port to OpenBSD 6.8+ powerpc64

* lib/sigsegv.c (SIGSEGV_FAULT_STACKPOINTER):
Special case for __OpenBSD__ && __powerpc64__, needed due to:
5e649a8714
which is part of the oldest currently-supported OpenBSD (6.8),
so we needn’t worry about older versions.
This commit is contained in:
Christian Weisgerber
2021-09-11 13:51:13 -07:00
committed by Paul Eggert
parent b6bae60d83
commit aa35e17ac6
2 changed files with 17 additions and 1 deletions

View File

@@ -1,3 +1,12 @@
2021-09-11 Christian Weisgerber <naddy@mips.inka.de> (tiny change)
sigsegv: port to OpenBSD 6.8+ powerpc64
* lib/sigsegv.c (SIGSEGV_FAULT_STACKPOINTER):
Special case for __OpenBSD__ && __powerpc64__, needed due to:
https://github.com/openbsd/src/commit/5e649a8714ba05cf482011b7b7d1e5437b7c17db
which is part of the oldest currently-supported OpenBSD (6.8),
so we neednt worry about older versions.
2021-09-09 Pádraig Brady <P@draigBrady.com>
maintainer-makefile: add 'can' to sc_prohibit_doubled_word

View File

@@ -511,7 +511,14 @@ int libsigsegv_version = LIBSIGSEGV_VERSION;
# define SIGSEGV_FAULT_STACKPOINTER scp->sc_regs[29]
# elif defined __powerpc__ || defined __powerpc64__
# elif defined __powerpc64__
/* See the definition of 'struct sigcontext' in
openbsd-src/sys/arch/powerpc64/include/signal.h. */
# define SIGSEGV_FAULT_STACKPOINTER scp->sc_sp
# elif defined __powerpc__
/* See the definition of 'struct sigcontext' and 'struct trapframe' in
openbsd-src/sys/arch/powerpc/include/signal.h. */