X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2FnativeGen%2FPprMach.hs;h=02ab265371311e043d0446185a40248e484234bf;hb=b3ccd6d5a4366dc8089fd9c49f5edf43077de009;hp=ba8a5d9bf66f923128dc4b23e2201e9e91228674;hpb=3b2fc9e1d79acff6a09dc1477d3e4bfe3bb3ad55;p=ghc-hetmet.git diff --git a/compiler/nativeGen/PprMach.hs b/compiler/nativeGen/PprMach.hs index ba8a5d9..02ab265 100644 --- a/compiler/nativeGen/PprMach.hs +++ b/compiler/nativeGen/PprMach.hs @@ -694,12 +694,12 @@ pprGloblDecl lbl pprTypeAndSizeDecl :: CLabel -> Doc pprTypeAndSizeDecl lbl -#if mingw32_TARGET_OS - = empty -#else +#if linux_TARGET_OS | not (externallyVisibleCLabel lbl) = empty | otherwise = ptext SLIT(".type ") <> pprCLabel_asm lbl <> ptext SLIT(", @object") +#else + = empty #endif pprLabel :: CLabel -> Doc