mirror of https://git.ffmpeg.org/ffmpeg.git
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>
This commit is contained in:
parent
fea6db064b
commit
543156d751
|
@ -53,6 +53,7 @@
|
||||||
.syntax unified
|
.syntax unified
|
||||||
T .thumb
|
T .thumb
|
||||||
ELF .eabi_attribute 25, 1 @ Tag_ABI_align_preserved
|
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
|
.macro function name, export=0, align=2
|
||||||
.set .Lpic_idx, 0
|
.set .Lpic_idx, 0
|
||||||
|
|
Loading…
Reference in New Issue