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

ruby-changes:65389

From: David <ko1@a...>
Date: Fri, 5 Mar 2021 10:26:31 +0900 (JST)
Subject: [ruby-changes:65389] c230ccdba6 (master): coroutine arm64 generating note.GNU-stack section for linux.

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

From c230ccdba6cda107f3a5bcd540afa3e75677a676 Mon Sep 17 00:00:00 2001
From: David Carlier <devnexen@g...>
Date: Thu, 4 Mar 2021 21:43:23 +0000
Subject: coroutine arm64 generating note.GNU-stack section for linux.

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

diff --git a/coroutine/arm64/Context.S b/coroutine/arm64/Context.S
index 04e3f6d..e2bd5b3 100644
--- a/coroutine/arm64/Context.S
+++ b/coroutine/arm64/Context.S
@@ -60,3 +60,7 @@ PREFIXED_SYMBOL(SYMBOL_PREFIX,coroutine_transfer): https://github.com/ruby/ruby/blob/trunk/coroutine/arm64/Context.S#L60
 
 	# Jump to return address (in x4)
 	ret x4
+
+#if defined(__linux__) && defined(__ELF__)
+.section .note.GNU-stack,"",%progbits
+#endif
-- 
cgit v1.1


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

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