http://trac.xbmc.org/ticket/12735 From f0e33eefa4b5d46f26811db2f5e943dcd7f2870e Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 1 Mar 2012 00:04:49 -0500 Subject: [PATCH] mark stack as non-executable Signed-off-by: Mike Frysinger --- xbmc/utils/fastmemcpy-arm.S | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/xbmc/utils/fastmemcpy-arm.S b/xbmc/utils/fastmemcpy-arm.S index 0e810a7..3d77c68 100644 --- a/xbmc/utils/fastmemcpy-arm.S +++ b/xbmc/utils/fastmemcpy-arm.S @@ -527,3 +527,8 @@ copy_last_3_and_return: #endif /* __ARM_ARCH__ < 7 */ #endif + +#if defined(__linux__) && defined(__ELF__) +/* we don't need an executable stack */ +.section .note.GNU-stack,"",%progbits +#endif -- 1.7.8.4