On 2015-06-13 11:03:41 +0300, Martin Storsjö wrote:
> ---
>  gas-preprocessor.pl | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/gas-preprocessor.pl b/gas-preprocessor.pl
> index 60997ce..7ba31fe 100755
> --- a/gas-preprocessor.pl
> +++ b/gas-preprocessor.pl
> @@ -888,9 +888,9 @@ sub handle_serialized_line {
>          }
>  
>          # ALIGN in armasm syntax is the actual number of bytes
> -        if ($line =~ /\.align\s+(\d+)/) {
> +        if ($line =~ /\.(?:p2)?align\s+(\d+)/) {
>              my $align = 1 << $1;
> -            $line =~ s/\.align\s(\d+)/ALIGN $align/;
> +            $line =~ s/\.(?:p2)?align\s(\d+)/ALIGN $align/;
>          }
>          # Convert gas style [r0, :128] into armasm [r0@128] alignment 
> specification
>          $line =~ s/\[([^\[,]+),?\s*:(\d+)\]/[$1\@$2]/g;

ok

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

Reply via email to