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

diff --git a/gas-preprocessor.pl b/gas-preprocessor.pl
index 5498b7c..6274571 100755
--- a/gas-preprocessor.pl
+++ b/gas-preprocessor.pl
@@ -914,7 +914,8 @@ foreach my $line (@pass1_lines) {
     $line =~ s/\.func/$comm$&/x        if $as_type =~ /^(apple-|clang)/;
     $line =~ s/\.endfunc/$comm$&/x     if $as_type =~ /^(apple-|clang)/;
     $line =~ s/\.endfunc/ENDP/x        if $as_type =~ /armasm/;
-    $line =~ s/\.ltorg/$comm$&/x       if $as_type =~ /^(apple-|clang|armasm)/;
+    $line =~ s/\.ltorg/$comm$&/x       if $as_type =~ /^(apple-|clang)/;
+    $line =~ s/\.ltorg/LTORG/x         if $as_type =~ /armasm/;
     $line =~ s/\.size/$comm$&/x        if $as_type =~ /^(apple-|armasm)/;
     $line =~ s/\.fpu/$comm$&/x         if $as_type =~ /^(apple-|armasm)/;
     $line =~ s/\.arch/$comm$&/x        if $as_type =~ /^(apple-|clang|armasm)/;
-- 
1.8.5.2 (Apple Git-48)

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

Reply via email to