projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3710a4e
)
Fix the build on OS X: only understands .space, not .skip
author
Ian Lynagh
<igloo@earth.li>
Fri, 6 Feb 2009 15:12:03 +0000
(15:12 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Fri, 6 Feb 2009 15:12:03 +0000
(15:12 +0000)
compiler/nativeGen/PprMach.hs
patch
|
blob
|
history
diff --git
a/compiler/nativeGen/PprMach.hs
b/compiler/nativeGen/PprMach.hs
index
55e3930
..
88a8f3f
100644
(file)
--- 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