x86_64-xlate.pl: proper solution for RT#2620 [from HEAD].

This commit is contained in:
Andy Polyakov 2012-01-21 11:35:29 +00:00
parent 702175817f
commit 6b1fb9179e

View File

@ -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;