Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2014-02-07 18:22:54 +0400
committerMartin Storsjö <martin@martin.st>2014-02-19 11:57:19 +0400
commit543156d7518f5e5d731123da066d86278f9fa492 (patch)
tree5e10aa7195b53c15993f09b9973defd8fc712472 /libavutil/arm
parentfea6db064b00822af488db93f0f8b19f25cae515 (diff)
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@martin.st>
Diffstat (limited to 'libavutil/arm')
-rw-r--r--libavutil/arm/asm.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavutil/arm/asm.S b/libavutil/arm/asm.S
index f4523ea310..45fdf55522 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