shithub: openh264

Download patch

ref: 52e89738691027dbe8d5b8bd06ccce34a387a5c3
parent: b773ec60abaf7de044b86c4ef1b3b7f306e8b1c3
author: Martin Storsjö <[email protected]>
date: Tue Mar 11 10:24:16 EDT 2014

Mark the stack as non-executable in the arm assembly

Otherwise the linker is forced to enable an executable stack for
executables that the code is linked into.

--- a/codec/common/arm_arch_common_macro.S
+++ b/codec/common/arm_arch_common_macro.S
@@ -45,6 +45,8 @@
 #else
 
 .syntax unified
+.section .note.GNU-stack,"",%progbits // Mark stack as non-executable
+.text
 
 .macro WELS_ASM_FUNC_BEGIN funcName
 .align 2