Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alex D
GHC
Commits
4c4f9f5c
Commit
4c4f9f5c
authored
Feb 06, 2009
by
Ian Lynagh
Browse files
Fix the build on OS X: only understands .space, not .skip
parent
3710a4ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/nativeGen/PprMach.hs
View file @
4c4f9f5c
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment