ocaml/0011-arm64-Fix-missing-clos...

28 lines
936 B
Diff

From 20a89e9d501a4f90fb6c1bed59fd41bfec349beb Mon Sep 17 00:00:00 2001
From: "Richard W.M. Jones" <rjones@redhat.com>
Date: Tue, 15 Jul 2014 21:30:15 +0000
Subject: [PATCH 11/11] arm64: Fix missing close-quote which caused
caml_callback2 to fail.
http://caml.inria.fr/mantis/view.php?id=6489
---
asmrun/arm64.S | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/asmrun/arm64.S b/asmrun/arm64.S
index a7d4953..50abdae 100644
--- a/asmrun/arm64.S
+++ b/asmrun/arm64.S
@@ -478,7 +478,7 @@ caml_callback2_exn:
/* Initial shuffling of arguments (x0 = closure, x1 = arg1, x2 = arg2) */
mov TMP, x0
mov x0, x1 /* x0 = first arg */
- mov x1, x2 /* x1 = second arg
+ mov x1, x2 /* x1 = second arg */
mov x2, TMP /* x2 = closure environment */
ADDRGLOBAL(ARG, caml_apply2)
b .Ljump_to_caml
--
1.9.0