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:
9815cf7
)
Restrict .type directives to Linux targets only
author
Clemens Fruhwirth
<clemens@endorphin.org>
Sat, 30 Jun 2007 08:22:43 +0000
(08:22 +0000)
committer
Clemens Fruhwirth
<clemens@endorphin.org>
Sat, 30 Jun 2007 08:22:43 +0000
(08:22 +0000)
compiler/nativeGen/PprMach.hs
patch
|
blob
|
history
diff --git
a/compiler/nativeGen/PprMach.hs
b/compiler/nativeGen/PprMach.hs
index
ba8a5d9
..
02ab265
100644
(file)
--- a/
compiler/nativeGen/PprMach.hs
+++ b/
compiler/nativeGen/PprMach.hs
@@
-694,12
+694,12
@@
pprGloblDecl lbl
pprTypeAndSizeDecl :: CLabel -> Doc
pprTypeAndSizeDecl 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")
| not (externallyVisibleCLabel lbl) = empty
| otherwise = ptext SLIT(".type ") <>
pprCLabel_asm lbl <> ptext SLIT(", @object")
+#else
+ = empty
#endif
pprLabel :: CLabel -> Doc
#endif
pprLabel :: CLabel -> Doc