SPARC NCG: Use .skip instead of .space in assembler
authorBen.Lippmeier@anu.edu.au <unknown>
Thu, 22 Jan 2009 22:51:50 +0000 (22:51 +0000)
committerBen.Lippmeier@anu.edu.au <unknown>
Thu, 22 Jan 2009 22:51:50 +0000 (22:51 +0000)
 - In the GNU assembler they mean the same thing
 - The Solaris assembler only has .skip

compiler/nativeGen/PprMach.hs

index c472b5f..8fc9e3d 100644 (file)
@@ -692,7 +692,7 @@ pprData :: CmmStatic -> Doc
 pprData (CmmAlign bytes)         = pprAlign bytes
 pprData (CmmDataLabel lbl)       = pprLabel lbl
 pprData (CmmString str)          = pprASCII str
 pprData (CmmAlign bytes)         = pprAlign bytes
 pprData (CmmDataLabel lbl)       = pprLabel lbl
 pprData (CmmString str)          = pprASCII str
-pprData (CmmUninitialised bytes) = ptext (sLit ".space ") <> int bytes
+pprData (CmmUninitialised bytes) = ptext (sLit ".skip ") <> int bytes
 pprData (CmmStaticLit lit)       = pprDataItem lit
 
 pprGloblDecl :: CLabel -> Doc
 pprData (CmmStaticLit lit)       = pprDataItem lit
 
 pprGloblDecl :: CLabel -> Doc