Commit aee74a1d authored by Dave Hylands's avatar Dave Hylands Committed by Paul Sokolovsky
Browse files

unix: Make stack be non-executable

This PR is to address issue #2812.
parent 00bd1453
......@@ -257,3 +257,6 @@ nlr_jump:
#endif // !defined(NLR_OS_WINDOWS)
#endif // defined(__x86_64__) && !MICROPY_NLR_SETJMP
#if defined(linux)
.section .note.GNU-stack,"",@progbits
#endif
......@@ -190,3 +190,6 @@ nlr_jump:
#endif
#endif // defined(__i386__) && !MICROPY_NLR_SETJMP
#if defined(linux)
.section .note.GNU-stack,"",@progbits
#endif
......@@ -114,3 +114,6 @@ nlr_jump:
.size nlr_jump, .-nlr_jump
#endif // defined(__xtensa__)
#if defined(linux)
.section .note.GNU-stack,"",@progbits
#endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment