runtime: always mark assembly file as non-executable stack
For https://gcc.gnu.org/PR92820.
Change-Id: Ied403e39935b143148cca5fa0ed3f701d70f9c17
Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/210037
Reviewed-by: Cherry Zhang <cherryyz@google.com>
diff --git a/libgo/runtime/go-context.S b/libgo/runtime/go-context.S
index 170bced..d55baa2 100644
--- a/libgo/runtime/go-context.S
+++ b/libgo/runtime/go-context.S
@@ -66,8 +66,9 @@
ret
- .section .note.GNU-stack,"",@progbits
.section .note.GNU-split-stack,"",@progbits
.section .note.GNU-no-split-stack,"",@progbits
#endif
+
+ .section .note.GNU-stack,"",@progbits