Skip to content

Commit

Permalink
coroutine: Darwin on ARM64 needs alignment of 2^2
Browse files Browse the repository at this point in the history
  • Loading branch information
devnexen authored and ioquatix committed Apr 1, 2021
1 parent e675a78 commit 68a8f61
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions coroutine/arm64/Context.S
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 68a8f61

Please sign in to comment.