From: simonmar Date: Thu, 29 Jun 2000 13:18:38 +0000 (+0000) Subject: [project @ 2000-06-29 13:18:38 by simonmar] X-Git-Tag: Approximately_9120_patches~4117 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=168e69c3281912031727d2fb83604c5db9cd94b0;p=ghc-hetmet.git [project @ 2000-06-29 13:18:38 by simonmar] sparc needs the TMOVEDIRVS hack too --- diff --git a/ghc/driver/mangler/ghc-asm.lprl b/ghc/driver/mangler/ghc-asm.lprl index 29a6894..b5db622 100644 --- a/ghc/driver/mangler/ghc-asm.lprl +++ b/ghc/driver/mangler/ghc-asm.lprl @@ -815,7 +815,7 @@ sub mangle_asm { # blah_closure: # ... # - if ( $TargetPlatform =~ /^i386/ && $to_move =~ /$TCOPYDIRVS/ ) { + if ( $TargetPlatform =~ /^(i386|sparc)/ && $to_move =~ /$TCOPYDIRVS/ ) { $j = $i + 1; while ( $j < $numchks && $chk[$j] =~ /$T_CONST_LBL/) { $j++;