diff options
author | David CARLIER <[email protected]> | 2021-03-31 21:28:58 +0100 |
---|---|---|
committer | Samuel Williams <[email protected]> | 2021-04-01 23:51:06 +1300 |
commit | 68a8f611e01c1e43a7362f590316268ccf7865c5 (patch) | |
tree | de9d02c02e6a2f0bfeee36671e704a4f50011084 /coroutine/arm64/Context.S | |
parent | e675a7899cde096373130100a5ef799941c71992 (diff) |
coroutine: Darwin on ARM64 needs alignment of 2^2
Diffstat (limited to 'coroutine/arm64/Context.S')
-rw-r--r-- | coroutine/arm64/Context.S | 6 |
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): |