summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--coroutine/arm64/Context.S5
1 files changed, 5 insertions, 0 deletions
diff --git a/coroutine/arm64/Context.S b/coroutine/arm64/Context.S
index e2bd5b3090..4d371c3dda 100644
--- a/coroutine/arm64/Context.S
+++ b/coroutine/arm64/Context.S
@@ -8,6 +8,11 @@
#define TOKEN_PASTE(x,y) x##y
#define PREFIXED_SYMBOL(prefix,name) TOKEN_PASTE(prefix,name)
+#if defined(__APPLE__)
+#define x29 fp
+#define x30 lr
+#endif
+
.text
.align 2