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

ruby-changes:65723

From: David <ko1@a...>
Date: Thu, 1 Apr 2021 19:51:26 +0900 (JST)
Subject: [ruby-changes:65723] 68a8f611e0 (master): coroutine: Darwin on ARM64 needs alignment of 2^2

https://git.ruby-lang.org/ruby.git/commit/?id=68a8f611e0

From 68a8f611e01c1e43a7362f590316268ccf7865c5 Mon Sep 17 00:00:00 2001
From: David CARLIER <devnexen@g...>
Date: Wed, 31 Mar 2021 21:28:58 +0100
Subject: coroutine: Darwin on ARM64 needs alignment of 2^2

---
 coroutine/arm64/Context.S | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/coroutine/arm64/Context.S b/coroutine/arm64/Context.S
index 4d371c3..07d50d3 100644
--- a/coroutine/arm64/Context.S
+++ b/coroutine/arm64/Context.S
@@ -11,10 +11,12 @@ https://github.com/ruby/ruby/blob/trunk/coroutine/arm64/Context.S#L11
 #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):
-- 
cgit v1.1


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

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