[前][次][番号順一覧][スレッド一覧]

ruby-changes:65622

From: David <ko1@a...>
Date: Mon, 22 Mar 2021 23:32:26 +0900 (JST)
Subject: [ruby-changes:65622] 816a1d97fd (master): coroutine mac m1 update.

https://git.ruby-lang.org/ruby.git/commit/?id=816a1d97fd

From 816a1d97fdcb46cec51f6fa25d191630698106d1 Mon Sep 17 00:00:00 2001
From: David CARLIER <devnexen@g...>
Date: Fri, 5 Mar 2021 20:47:19 +0000
Subject: coroutine mac m1 update. using proper link register and frame pointer
 which equal x30/x29.

---
 coroutine/arm64/Context.S | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/coroutine/arm64/Context.S b/coroutine/arm64/Context.S
index e2bd5b3..4d371c3 100644
--- a/coroutine/arm64/Context.S
+++ b/coroutine/arm64/Context.S
@@ -8,6 +8,11 @@ https://github.com/ruby/ruby/blob/trunk/coroutine/arm64/Context.S#L8
 #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
 
-- 
cgit v1.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]