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

This commit is contained in:
Andy Polyakov 2012-01-21 11:35:20 +00:00
parent d2d09bf68c
commit a1e44cc14f

View File

@ -569,7 +569,8 @@ my %globals;
$v.=" READONLY"; $v.=" READONLY";
$v.=" ALIGN(".($1 eq "p" ? 4 : 8).")" if ($masm>=$masmref); $v.=" ALIGN(".($1 eq "p" ? 4 : 8).")" if ($masm>=$masmref);
} elsif ($line=~/\.CRT\$/i) { } elsif ($line=~/\.CRT\$/i) {
$v.=" READONLY ALIGN(8)"; $v.=" READONLY "
$v.=$masm>=$masmref ? "ALIGN(8)" : "DWORD";
} }
} }
$current_segment = $line; $current_segment = $line;