From c230ccdba6cda107f3a5bcd540afa3e75677a676 Mon Sep 17 00:00:00 2001 From: David Carlier Date: Thu, 4 Mar 2021 21:43:23 +0000 Subject: [PATCH] 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 04e3f6d1ef..e2bd5b3090 100644 --- a/coroutine/arm64/Context.S +++ b/coroutine/arm64/Context.S @@ -60,3 +60,7 @@ PREFIXED_SYMBOL(SYMBOL_PREFIX,coroutine_transfer): # Jump to return address (in x4) ret x4 + +#if defined(__linux__) && defined(__ELF__) +.section .note.GNU-stack,"",%progbits +#endif