projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75fe1fd
)
[project @ 2000-04-19 09:12:10 by simonmar]
author
simonmar
<unknown>
Wed, 19 Apr 2000 09:12:10 +0000
(09:12 +0000)
committer
simonmar
<unknown>
Wed, 19 Apr 2000 09:12:10 +0000
(09:12 +0000)
Fix a bug in previous commit, some .globls were getting thrown away.
ghc/driver/ghc-asm.lprl
patch
|
blob
|
history
diff --git
a/ghc/driver/ghc-asm.lprl
b/ghc/driver/ghc-asm.lprl
index
4b221fe
..
20d9043
100644
(file)
--- a/
ghc/driver/ghc-asm.lprl
+++ b/
ghc/driver/ghc-asm.lprl
@@
-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];
}
}