From: Andy Polyakov Date: Sat, 21 Jan 2012 11:35:20 +0000 (+0000) Subject: x86_64-xlate.pl: proper solution for RT#2620 [from HEAD]. X-Git-Tag: OpenSSL_1_0_1-beta3~34 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a1e44cc14f3203e1cb0783af373acb6b3b57fce8;p=openssl x86_64-xlate.pl: proper solution for RT#2620 [from HEAD]. --- 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;