Module: gas-preprocessor Branch: master Commit: 1eed9b2bdb2717148b56783f6f3409c53d93eb9e
Author: Martin Storsjo <[email protected]> Committer: Martin Storsjo <[email protected]> Date: Sun Aug 9 11:52:36 2015 +0300 Handle .quad, .ascii and .asciz for armasm When using .ascii, the strings can't contain embedded null bytes, though, and multiple strings per line with .asciz isn't supported. --- gas-preprocessor.pl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gas-preprocessor.pl b/gas-preprocessor.pl index 8eccc03..750a4d0 100755 --- a/gas-preprocessor.pl +++ b/gas-preprocessor.pl @@ -987,6 +987,9 @@ sub handle_serialized_line { $line =~ s/\.word/dcd/x; $line =~ s/\.short/dcw/x; $line =~ s/\.byte/dcb/x; + $line =~ s/\.quad/dcq/x; + $line =~ s/\.ascii/dcb/x; + $line =~ s/\.asciz(.*)$/dcb\1,0/x; $line =~ s/\.thumb/THUMB/x; $line =~ s/\.arm/ARM/x; # The alignment in AREA is the power of two, just as .align in gas _______________________________________________ libav-commits mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-commits
