summaryrefslogtreecommitdiff
path: root/coroutine
diff options
context:
space:
mode:
authorDavid CARLIER <devnexen@gmail.com>2021-03-31 21:28:58 +0100
committerSamuel Williams <samuel.williams@oriontransfer.co.nz>2021-04-01 23:51:06 +1300
commit68a8f611e01c1e43a7362f590316268ccf7865c5 (patch)
treede9d02c02e6a2f0bfeee36671e704a4f50011084 /coroutine
parente675a7899cde096373130100a5ef799941c71992 (diff)
coroutine: Darwin on ARM64 needs alignment of 2^2
Diffstat (limited to 'coroutine')
-rw-r--r--coroutine/arm64/Context.S6
1 files changed, 4 insertions, 2 deletions
diff --git a/coroutine/arm64/Context.S b/coroutine/arm64/Context.S
index 4d371c3dda..07d50d30df 100644
--- a/coroutine/arm64/Context.S
+++ b/coroutine/arm64/Context.S
@@ -11,10 +11,12 @@
#if defined(__APPLE__)
#define x29 fp
#define x30 lr
-#endif
-
+.text
+.p2align 2
+#else
.text
.align 2
+#endif
.global PREFIXED_SYMBOL(SYMBOL_PREFIX,coroutine_transfer)
PREFIXED_SYMBOL(SYMBOL_PREFIX,coroutine_transfer):