diff options
Diffstat (limited to 'compiler/nativeGen/PprMach.hs')
-rw-r--r-- | compiler/nativeGen/PprMach.hs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/compiler/nativeGen/PprMach.hs b/compiler/nativeGen/PprMach.hs index 55e3930786..88a8f3fce5 100644 --- a/compiler/nativeGen/PprMach.hs +++ b/compiler/nativeGen/PprMach.hs @@ -693,7 +693,13 @@ pprData :: CmmStatic -> Doc pprData (CmmAlign bytes) = pprAlign bytes pprData (CmmDataLabel lbl) = pprLabel lbl pprData (CmmString str) = pprASCII str -pprData (CmmUninitialised bytes) = ptext (sLit ".skip ") <> int bytes +pprData (CmmUninitialised bytes) = ptext (sLit s) <> int bytes + where s = +#if defined(solaris2_TARGET_OS) + ".skip " +#else + ".space " +#endif pprData (CmmStaticLit lit) = pprDataItem lit pprGloblDecl :: CLabel -> Doc |