diff options
author | Andy Polyakov <appro@openssl.org> | 2012-01-21 11:35:29 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2012-01-21 11:35:29 +0000 |
commit | 6b1fb9179e7d530260d10318ee06710bb23c3e7d (patch) | |
tree | fd1637bebc620e4bd5fbcb4e84cc4d1ef6715683 /crypto/perlasm | |
parent | 702175817f912ad43d19abea8fb1844d99416d4f (diff) |
x86_64-xlate.pl: proper solution for RT#2620 [from HEAD].
Diffstat (limited to 'crypto/perlasm')
-rwxr-xr-x | crypto/perlasm/x86_64-xlate.pl | 3 |
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; |