diff options
author | Tuan Hoang <tmhoang@linux.ibm.com> | 2019-11-22 18:42:31 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-11-25 07:29:21 +0000 |
commit | da68172df58bbbb6ea94b3f2f569bdf7628a0660 (patch) | |
tree | 637da7ab84a7c5983916f861cfd41ad9399979e0 /community/ocaml/fix-mcontext-fields.patch | |
parent | 0af557e86d000ac9a1bc35a99b5d14d417c67d72 (diff) | |
download | aports-da68172df58bbbb6ea94b3f2f569bdf7628a0660.tar.bz2 aports-da68172df58bbbb6ea94b3f2f569bdf7628a0660.tar.xz |
community/ocaml: fix mcontext patch on s390x
The context patch was just wrong from the beginning.
No pkgrel bump.
Diffstat (limited to 'community/ocaml/fix-mcontext-fields.patch')
-rw-r--r-- | community/ocaml/fix-mcontext-fields.patch | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/community/ocaml/fix-mcontext-fields.patch b/community/ocaml/fix-mcontext-fields.patch index 436057df76..23b4875d21 100644 --- a/community/ocaml/fix-mcontext-fields.patch +++ b/community/ocaml/fix-mcontext-fields.patch @@ -25,20 +25,3 @@ diff -Nru a/runtime/signals_osdep.h b/runtime/signals_osdep.h + #endif /****************** PowerPC, NetBSD */ - -@@ -354,11 +362,11 @@ - sigact.sa_flags = 0 - - typedef unsigned long context_reg; -- #define CONTEXT_PC (context->sregs->regs.psw.addr) -- #define CONTEXT_EXCEPTION_POINTER (context->sregs->regs.gprs[13]) -- #define CONTEXT_YOUNG_LIMIT (context->sregs->regs.gprs[10]) -- #define CONTEXT_YOUNG_PTR (context->sregs->regs.gprs[11]) -- #define CONTEXT_SP (context->sregs->regs.gprs[15]) -+ #define CONTEXT_PC (context->sregs->psw.addr) -+ #define CONTEXT_EXCEPTION_POINTER (context->sregs->gregs[13]) -+ #define CONTEXT_YOUNG_LIMIT (context->sregs->gregs[10]) -+ #define CONTEXT_YOUNG_PTR (context->sregs->gregs[11]) -+ #define CONTEXT_SP (context->sregs->gregs[15]) - - /******************** Default */ |