OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fea6db0
)
arm: Mark the stack as non-executable
author
Martin Storsjö
<martin@martin.st>
Fri, 7 Feb 2014 14:22:54 +0000
(16:22 +0200)
committer
Martin Storsjö
<martin@martin.st>
Wed, 19 Feb 2014 07:57:19 +0000
(09:57 +0200)
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>
libavutil/arm/asm.S
patch
|
blob
|
history
diff --git
a/libavutil/arm/asm.S
b/libavutil/arm/asm.S
index
f4523ea
..
45fdf55
100644
(file)
--- 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