[FFmpeg-cvslog] arm: Mark the stack as non-executable
Martin Storsjö
git at videolan.org
Mon Mar 3 22:59:17 CET 2014
ffmpeg | branch: release/2.2 | Martin Storsjö <martin at martin.st> | Fri Feb 7 16:22:54 2014 +0200| [cd6281abef6e707bfd34b2f479af400a854ab149] | committer: Reinhard Tartler
arm: Mark the stack as non-executable
If linking in an object file without this attribute set, the
linker will assume that an executable stack might be needed.
Signed-off-by: Martin Storsjö <martin at martin.st>
(cherry picked from commit 543156d7518f5e5d731123da066d86278f9fa492)
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=cd6281abef6e707bfd34b2f479af400a854ab149
---
libavutil/arm/asm.S | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavutil/arm/asm.S b/libavutil/arm/asm.S
index f4523ea..45fdf55 100644
--- a/libavutil/arm/asm.S
+++ b/libavutil/arm/asm.S
@@ -53,6 +53,7 @@
.syntax unified
T .thumb
ELF .eabi_attribute 25, 1 @ Tag_ABI_align_preserved
+ELF .section .note.GNU-stack,"",%progbits @ Mark stack as non-executable
.macro function name, export=0, align=2
.set .Lpic_idx, 0
More information about the ffmpeg-cvslog
mailing list