aboutsummaryrefslogtreecommitdiff
path: root/py/nlrxtensa.S
diff options
context:
space:
mode:
authorDave Hylands2017-01-30 20:35:52 -0800
committerPaul Sokolovsky2017-02-01 23:03:10 +0300
commitaee74a1dae41e2af771f18dd4d6cdeda3344bc0c (patch)
treef3e0aae51468cc5efc6ebcbdc2612b36b7710a6b /py/nlrxtensa.S
parent00bd14539823a40cf98cabd826b0585f37732689 (diff)
unix: Make stack be non-executable
This PR is to address issue #2812.
Diffstat (limited to 'py/nlrxtensa.S')
-rw-r--r--py/nlrxtensa.S3
1 files changed, 3 insertions, 0 deletions
diff --git a/py/nlrxtensa.S b/py/nlrxtensa.S
index 289996cce..73af4832f 100644
--- a/py/nlrxtensa.S
+++ b/py/nlrxtensa.S
@@ -114,3 +114,6 @@ nlr_jump:
.size nlr_jump, .-nlr_jump
#endif // defined(__xtensa__)
+#if defined(linux)
+ .section .note.GNU-stack,"",@progbits
+#endif