summaryrefslogtreecommitdiff
path: root/asmrun/amd64.S
diff options
context:
space:
mode:
Diffstat (limited to 'asmrun/amd64.S')
-rw-r--r--asmrun/amd64.S2
1 files changed, 1 insertions, 1 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)