Commit 8910b7b0 authored by Clemens Fruhwirth's avatar Clemens Fruhwirth
Browse files

Restrict .type directives to Linux targets only

parent 9815cf76
......@@ -694,12 +694,12 @@ pprGloblDecl 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")
#else
= empty
#endif
pprLabel :: CLabel -> Doc
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment