ref: 271de2c9fbd441d8db48320556b2ffb43b0db4c0
parent: a9874961f0889c36a4b59432f51dfa1b5befa78d
author: Johann <[email protected]>
date: Mon Nov 7 11:19:15 EST 2016
ads2gas: remove RN stanza 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
--- a/build/make/ads2gas.pl
+++ b/build/make/ads2gas.pl
@@ -138,14 +138,6 @@
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/;
--- a/build/make/ads2gas_apple.pl
+++ b/build/make/ads2gas_apple.pl
@@ -120,18 +120,6 @@
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/;