]> granicus.if.org Git - libvpx/commitdiff
ads2gas: remove RN stanza
authorJohann <johannkoenig@google.com>
Tue, 8 Nov 2016 00:19:15 +0000 (16:19 -0800)
committerJohann <johannkoenig@google.com>
Tue, 8 Nov 2016 00:21:16 +0000 (16:21 -0800)
The matching on ads2gas_apple.pl is too liberal and catches
CONFIG_EXTERNAL_BUILD and CONFIG_INTERNAL_STATS because they have RN in
the names.

The RN renaming feature is not used in any existing assembly files. It
was used in some armv6 files but they were removed.

Change-Id: Ib65abf1947d3e89f0d1584e2a5de399d24008f95

build/make/ads2gas.pl
build/make/ads2gas_apple.pl

index 7272424af2eb435357702a2530467c94636d3c07..029cc4a56f2127d4b5f3224204b9e5bb202bf869 100755 (executable)
@@ -138,14 +138,6 @@ while (<STDIN>)
     s/DCD(.*)/.long $1/;
     s/DCB(.*)/.byte $1/;
 
-    # RN to .req
-    if (s/RN\s+([Rr]\d+|lr)/.req $1/)
-    {
-        print;
-        print "$comment_sub$comment\n" if defined $comment;
-        next;
-    }
-
     # Make function visible to linker, and make additional symbol with
     # prepended underscore
     s/EXPORT\s+\|([\$\w]*)\|/.global $1 \n\t.type $1, function/;
index 1a9e105ba8d8e58a97097061485cebc92e1fa8d1..e1ae7b4f871189ab7c2ec32d3886a70afb3f3bb3 100755 (executable)
@@ -120,18 +120,6 @@ while (<STDIN>)
     s/DCD(.*)/.long $1/;
     s/DCB(.*)/.byte $1/;
 
-    # Build a hash of all the register - alias pairs.
-    if (s/(.*)RN(.*)/$1 .req $2/g)
-    {
-        $register_aliases{trim($1)} = trim($2);
-        next;
-    }
-
-    while (($key, $value) = each(%register_aliases))
-    {
-        s/\b$key\b/$value/g;
-    }
-
     # Make function visible to linker, and make additional symbol with
     # prepended underscore
     s/EXPORT\s+\|([\$\w]*)\|/.globl _$1\n\t.globl $1/;