summaryrefslogtreecommitdiff
path: root/asmrun
diff options
context:
space:
mode:
Diffstat (limited to 'asmrun')
-rw-r--r--asmrun/amd64.S2
-rw-r--r--asmrun/signals_osdep.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/asmrun/amd64.S b/asmrun/amd64.S
index b1f204f442..5fd5440cfc 100644
--- a/asmrun/amd64.S
+++ b/asmrun/amd64.S
@@ -52,7 +52,7 @@ FUNCTION(caml_call_gc)
pushq %rdi
pushq %rbx
pushq %rax
- movq %rsp, caml_gc_regs
+ movq %rsp, caml_gc_regs(%rip)
/* Save floating-point registers */
subq $(16*8), %rsp
movlpd %xmm0, 0*8(%rsp)
diff --git a/asmrun/signals_osdep.h b/asmrun/signals_osdep.h
index aa4594e898..f64c99f158 100644
--- a/asmrun/signals_osdep.h
+++ b/asmrun/signals_osdep.h
@@ -89,7 +89,7 @@
typedef int context_reg;
#define CONTEXT_PC (context->sc_pc)
#define CONTEXT_EXCEPTION_POINTER (context->sc_regs[30])
- #define CONTEXT_YOUNG_LIMIT (context->sc_regs[22]
+ #define CONTEXT_YOUNG_LIMIT (context->sc_regs[22])
#define CONTEXT_YOUNG_PTR (context->sc_regs[23])
/****************** PowerPC, MacOS X */