diff options
Diffstat (limited to 'user/libsigsegv/musl-ppc32.patch')
-rw-r--r-- | user/libsigsegv/musl-ppc32.patch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/user/libsigsegv/musl-ppc32.patch b/user/libsigsegv/musl-ppc32.patch new file mode 100644 index 000000000..75e10a45f --- /dev/null +++ b/user/libsigsegv/musl-ppc32.patch @@ -0,0 +1,10 @@ +--- libsigsegv-2.12/src/fault-linux-powerpc.h.old 2017-03-04 15:28:15.000000000 +0000 ++++ libsigsegv-2.12/src/fault-linux-powerpc.h 2020-05-11 21:49:56.190783142 +0000 +@@ -33,6 +33,6 @@ + # if 0 + # define SIGSEGV_FAULT_STACKPOINTER ((ucontext_t *) ucp)->uc_mcontext.regs->gpr[1] + # else +-# define SIGSEGV_FAULT_STACKPOINTER ((ucontext_t *) ucp)->uc_mcontext.uc_regs->gregs[1] ++# define SIGSEGV_FAULT_STACKPOINTER ((ucontext_t *) ucp)->uc_mcontext.gregs[1] + # endif + #endif |