shithub: dav1d

Download patch

ref: 63eef332220ec5321a507280dbf4b2da02d1d1fe
parent: 2cce131e7ef9d261a58d83f853e886c00dc4998c
author: Martin Storsjö <[email protected]>
date: Thu May 23 19:20:35 EDT 2019

arm: Mark the stack as non-executable on ELF

--- a/src/arm/asm.S
+++ b/src/arm/asm.S
@@ -37,6 +37,7 @@
         .fpu neon
         .eabi_attribute 10, 0           // suppress Tag_FP_arch
         .eabi_attribute 12, 0           // suppress Tag_Advanced_SIMD_arch
+        .section .note.GNU-stack,"",%progbits // Mark stack as non-executable
 #endif
 
 #ifdef _WIN32