summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2012-01-21 11:35:29 +0000
committerAndy Polyakov <appro@openssl.org>2012-01-21 11:35:29 +0000
commit6b1fb9179e7d530260d10318ee06710bb23c3e7d (patch)
treefd1637bebc620e4bd5fbcb4e84cc4d1ef6715683
parent702175817f912ad43d19abea8fb1844d99416d4f (diff)
x86_64-xlate.pl: proper solution for RT#2620 [from HEAD].
-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 e47116b74b..674da3b7e6 100755
--- a/crypto/perlasm/x86_64-xlate.pl
+++ b/crypto/perlasm/x86_64-xlate.pl
@@ -555,7 +555,8 @@ my %globals;
$v.=" READONLY";
$v.=" ALIGN(".($1 eq "p" ? 4 : 8).")" if ($masm>=$masmref);
} elsif ($line=~/\.CRT\$/i) {
- $v.=" READONLY DWORD";
+ $v.=" READONLY ";
+ $v.=$masm>=$masmref ? "ALIGN(8)" : "DWORD";
}
}
$current_segment = $line;