Module: gas-preprocessor Branch: master Commit: d213f63796bf884e2393f56ec81050fd7097211c
Author: Martin Storsjo <[email protected]> Committer: Martin Storsjo <[email protected]> Date: Sat Oct 14 14:10:50 2017 +0300 Operate on the right variable instead of the implicit variable Apparently, this hasn't caused any issues in practice. --- gas-preprocessor.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gas-preprocessor.pl b/gas-preprocessor.pl index fe9c746..456ee24 100755 --- a/gas-preprocessor.pl +++ b/gas-preprocessor.pl @@ -943,7 +943,7 @@ sub handle_serialized_line { # Convert "mov pc, lr" into "bx lr", since the former only works # for switching from arm to thumb (and only in armv7), but not # from thumb to arm. - s/mov\s*pc\s*,\s*lr/bx lr/g; + $line =~ s/mov\s*pc\s*,\s*lr/bx lr/g; # Convert stmdb/ldmia/stmfd/ldmfd/ldm with only one register into a plain str/ldr with post-increment/decrement. # Wide thumb2 encoding requires at least two registers in register list while all other encodings support one register too. _______________________________________________ libav-commits mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-commits
