aboutsummaryrefslogtreecommitdiffstats
path: root/community/ocaml/fix-mcontext-fields.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/ocaml/fix-mcontext-fields.patch')
-rw-r--r--community/ocaml/fix-mcontext-fields.patch17
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 */