On 07/02/14 15:37, Martin Storsjö wrote:
> If linking in an object file without this attribute set, the
> linker will assume that an executable stack might be needed.
> ---
>  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
> 

Seems in line with what yasm does. Ok.
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to