From: Andy Polyakov Date: Sat, 21 Jan 2012 11:34:53 +0000 (+0000) Subject: x86_64-xlate.pl: proper solution for RT#2620. X-Git-Tag: master-post-reformat~1975 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e6903980af2ca1efbdec5366c197dca9f9bff945;p=oweals%2Fopenssl.git x86_64-xlate.pl: proper solution for RT#2620. --- diff --git a/crypto/perlasm/x86_64-xlate.pl b/crypto/perlasm/x86_64-xlate.pl index 1f4ce0a84e..1492e1c2e7 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;