[project @ 1996-07-15 11:32:34 by partain]
[ghc-hetmet.git] / ghc / compiler / nativeGen / MachCode.lhs
index 6a51d9c..de2bb90 100644 (file)
@@ -2232,7 +2232,7 @@ genCCall fn kind [StInt i]
                MOV L (OpImm (ImmCLbl lbl))
                      -- this is hardwired
                      (OpAddr (Addr (Just ebx) Nothing (ImmInt 104))),
-               JMP (OpImm (ImmLit (uppPStr (SLIT ("_PerformGC_wrapper"))))),
+               JMP (OpImm (ImmLit (uppPStr (if underscorePrefix then (SLIT ("_PerformGC_wrapper")) else (SLIT ("PerformGC_wrapper")))))),
                LABEL lbl]
     in
     returnInstrs call