diff options
author | David CARLIER <[email protected]> | 2021-03-05 20:47:19 +0000 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2021-03-22 23:32:07 +0900 |
commit | 816a1d97fdcb46cec51f6fa25d191630698106d1 (patch) | |
tree | 9cf4f603ea2916d5fc8a5ce17d6bd77aafa34f54 /coroutine/arm64/Context.S | |
parent | 35d30c6ac5a882e2d3b34a9a838f39c2f58531df (diff) |
coroutine mac m1 update.
using proper link register and frame pointer which equal x30/x29.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4243
Diffstat (limited to 'coroutine/arm64/Context.S')
-rw-r--r-- | coroutine/arm64/Context.S | 5 |
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 |