]> granicus.if.org Git - openssl/commitdiff
x86_64-xlate.pl: proper solution for RT#2620 [from HEAD].
authorAndy Polyakov <appro@openssl.org>
Sat, 21 Jan 2012 11:35:29 +0000 (11:35 +0000)
committerAndy Polyakov <appro@openssl.org>
Sat, 21 Jan 2012 11:35:29 +0000 (11:35 +0000)
crypto/perlasm/x86_64-xlate.pl

index e47116b74b7ee1c21d0189b09bf1bfe09e1948a3..674da3b7e6770805b7d976326b24075cbee5473c 100755 (executable)
@@ -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;