summaryrefslogtreecommitdiffstats
path: root/crypto/perlasm
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2012-01-21 11:35:20 +0000
committerAndy Polyakov <appro@openssl.org>2012-01-21 11:35:20 +0000
commita1e44cc14f3203e1cb0783af373acb6b3b57fce8 (patch)
treef9dfabb1c97ad6b27783ea4862c92b63ae6567ff /crypto/perlasm
parentd2d09bf68c2e6a28ba7f6876869c32a7b4779885 (diff)
x86_64-xlate.pl: proper solution for RT#2620 [from HEAD].
Diffstat (limited to 'crypto/perlasm')
-rwxr-xr-xcrypto/perlasm/x86_64-xlate.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/perlasm/x86_64-xlate.pl b/crypto/perlasm/x86_64-xlate.pl
index 1f4ce0a84e..0cf6f0534a 100755
--- a/crypto/perlasm/x86_64-xlate.pl
+++ b/crypto/perlasm/x86_64-xlate.pl
@@ -569,7 +569,8 @@ my %globals;
$v.=" READONLY";
$v.=" ALIGN(".($1 eq "p" ? 4 : 8).")" if ($masm>=$masmref);
} elsif ($line=~/\.CRT\$/i) {
- $v.=" READONLY ALIGN(8)";
+ $v.=" READONLY "
+ $v.=$masm>=$masmref ? "ALIGN(8)" : "DWORD";
}
}
$current_segment = $line;