[project @ 2002-12-08 14:28:15 by wolfgang]
authorwolfgang <unknown>
Sun, 8 Dec 2002 14:28:15 +0000 (14:28 +0000)
committerwolfgang <unknown>
Sun, 8 Dec 2002 14:28:15 +0000 (14:28 +0000)
Mac OS X: fix a small bug that caused trouble with object splitting

ghc/driver/mangler/ghc-asm.lprl

index 92feae1..8cf2b86 100644 (file)
@@ -899,7 +899,7 @@ sub mangle_asm {
            #    blah_closure:
            #           ...
             #
-           if ( $TargetPlatform =~ /^(i386|sparc)/ && $to_move =~ /${T_COPY_DIRVS}/ ) {
+           if ( $TargetPlatform =~ /^(i386|sparc|powerpc)/ && $to_move =~ /${T_COPY_DIRVS}/ ) {
                $j = $i + 1;
                while ( $j < $numchks  && $chk[$j] =~ /$T_CONST_LBL/) {
                        $j++;