[FFmpeg-devel] [GASPP PATCH 1/2] Translate .xword and .dword to .quad

Martin Storsjö martin at martin.st
Mon Jun 24 20:08:46 EEST 2024


---
 gas-preprocessor.pl | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gas-preprocessor.pl b/gas-preprocessor.pl
index b0c343e..20b927f 100755
--- a/gas-preprocessor.pl
+++ b/gas-preprocessor.pl
@@ -1169,6 +1169,8 @@ sub handle_serialized_line {
     $line =~ s/\.syntax/$comm$&/x      if $as_type =~ /armasm/;
 
     $line =~ s/\.hword/.short/x;
+    $line =~ s/\.xword/.quad/x;
+    $line =~ s/\.dword/.quad/x;
 
     if ($as_type =~ /^apple-/) {
         # the syntax for these is a little different
-- 
2.34.1



More information about the ffmpeg-devel mailing list