summaryrefslogtreecommitdiffstats
path: root/crypto/perlasm/arm-xlate.pl
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/perlasm/arm-xlate.pl')
-rwxr-xr-xcrypto/perlasm/arm-xlate.pl9
1 files changed, 9 insertions, 0 deletions
diff --git a/crypto/perlasm/arm-xlate.pl b/crypto/perlasm/arm-xlate.pl
index aef9595a5e..e07ce2c5c1 100755
--- a/crypto/perlasm/arm-xlate.pl
+++ b/crypto/perlasm/arm-xlate.pl
@@ -33,6 +33,15 @@ my $rodata = sub {
SWITCH: for ($flavour) {
/linux/ && return ".section\t.rodata";
/ios/ && return ".section\t__TEXT,__const";
+ /win64/ && return ".section\t.rodata";
+ last;
+ }
+};
+my $previous = sub {
+ SWITCH: for ($flavour) {
+ /linux/ && return ".previous";
+ /ios/ && return ".previous";
+ /win64/ && return ".text";
last;
}
};