On 2014-03-24 14:38:04 +0200, Martin Storsjö wrote:
> We could have injected extra lines with temporary labels before
> this one, if the line consisted of a numeric label before the
> branch instruction.
> ---
> gas-preprocessor.pl | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/gas-preprocessor.pl b/gas-preprocessor.pl
> index f59d245..957a774 100755
> --- a/gas-preprocessor.pl
> +++ b/gas-preprocessor.pl
> @@ -844,7 +844,7 @@ foreach my $line (@pass1_lines) {
>
>
> # Check branch instructions
> - if ($line =~ /^\s*((\w+\s*:\s*)?bl?x?(..)?(?:\.w)?)\s+(\w+)/) {
> + if ($line =~ /(?:^|\n)\s*((\w+\s*:\s*)?bl?x?(..)?(?:\.w)?)\s+(\w+)/)
> {
> my $cond = $3;
> my $target = $4;
> # Don't interpret e.g. bic as b<cc> with ic as conditional code
ok
Janne
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel