From aee74a1dae41e2af771f18dd4d6cdeda3344bc0c Mon Sep 17 00:00:00 2001 From: Dave Hylands Date: Mon, 30 Jan 2017 20:35:52 -0800 Subject: unix: Make stack be non-executable This PR is to address issue #2812. --- py/nlrx86.S | 3 +++ 1 file changed, 3 insertions(+) (limited to 'py/nlrx86.S') diff --git a/py/nlrx86.S b/py/nlrx86.S index 8c538ba17..f1de61e11 100644 --- a/py/nlrx86.S +++ b/py/nlrx86.S @@ -190,3 +190,6 @@ nlr_jump: #endif #endif // defined(__i386__) && !MICROPY_NLR_SETJMP +#if defined(linux) + .section .note.GNU-stack,"",@progbits +#endif -- cgit v1.2.3