Commit 5abb1668 authored by simonmar's avatar simonmar

[project @ 2000-04-19 09:12:10 by simonmar]

Fix a bug in previous commit, some .globls were getting thrown away.
parent 75fe1fd9
......@@ -795,10 +795,10 @@ sub mangle_asm {
#
if ( $TargetPlatform =~ /^i386/ && $to_move =~ /$TCOPYDIRVS/ ) {
$j = $i + 1;
while ( $j < ($numchks - 1) && $chk[$j] =~ /$T_CONST_LBL/) {
while ( $j < $numchks && $chk[$j] =~ /$T_CONST_LBL/) {
$j++;
}
if ( $j < ($numchks - 1)) {
if ( $j < $numchks ) {
$chk[$j] = $to_move . $chk[$j];
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment