Follow ForeignLabel changes in PPC NCG
[ghc-hetmet.git] / compiler / nativeGen / PPC / CodeGen.hs
index 495296a..1215b2e 100644 (file)
@@ -1059,7 +1059,7 @@ genCCall target dest_regs argsAndHints
             do
                 dflags <- getDynFlagsNat
                 mopExpr <- cmmMakeDynamicReference dflags addImportNat CallReference $
-                              mkForeignLabel functionName Nothing True IsFunction
+                              mkForeignLabel functionName Nothing ForeignLabelInThisPackage IsFunction
                 let mopLabelOrExpr = case mopExpr of
                         CmmLit (CmmLabel lbl) -> Left lbl
                         _ -> Right mopExpr