summaryrefslogtreecommitdiff
path: root/libgo
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2019-12-05 17:51:10 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2019-12-05 17:51:10 +0000
commit9bcee9c9a153270c9bf73b73a6af564e715032ff (patch)
treece835114c98cb0502f940c7db9afc1df44b5fb22 /libgo
parentc3cb71ef35522f46afa6f11ee376cdcb73b893e8 (diff)
re PR go/92820 (libgo.so.15 has executable stack)
PR go/92820 runtime: always mark assembly file as non-executable stack Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/210037 From-SVN: r279010
Diffstat (limited to 'libgo')
-rw-r--r--libgo/runtime/go-context.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/libgo/runtime/go-context.S b/libgo/runtime/go-context.S
index 170bced1818..d55baa26f55 100644
--- a/libgo/runtime/go-context.S
+++ b/libgo/runtime/go-context.S
@@ -66,8 +66,9 @@ __go_makecontext:
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