On 2014-03-17 10:56:47 +0200, Martin Storsjö wrote:
> Libav itself doesn't output these unless targeting ELF (where
> they don't need to be commented out), but other projects (e.g.
> OpenH264) have them unconditionally in the source.
> ---
>  gas-preprocessor.pl | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/gas-preprocessor.pl b/gas-preprocessor.pl
> index 0ca0d07..922cac1 100755
> --- a/gas-preprocessor.pl
> +++ b/gas-preprocessor.pl
> @@ -879,6 +879,7 @@ sub handle_serialized_line {
>      $line =~ s/\.fpu/$comm$&/x         if $as_type =~ /^(apple-|armasm)/;
>      $line =~ s/\.arch/$comm$&/x        if $as_type =~ 
> /^(apple-|clang|armasm)/;
>      $line =~ s/\.object_arch/$comm$&/x if $as_type =~ /^(apple-|armasm)/;
> +    $line =~ s/.section\s+.note.GNU-stack.*/$comm$&/x if $as_type =~ 
> /^(apple-|armasm)/;
>  
>      $line =~ s/\.syntax/$comm$&/x      if $as_type =~ /armasm/;

ok

Janne
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to