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:
003c746
)
disable .ident generation on darwin_TARGET_OS
author
Simon Marlow
<simonmar@microsoft.com>
Tue, 22 Aug 2006 09:03:49 +0000
(09:03 +0000)
committer
Simon Marlow
<simonmar@microsoft.com>
Tue, 22 Aug 2006 09:03:49 +0000
(09:03 +0000)
compiler/nativeGen/AsmCodeGen.lhs
patch
|
blob
|
history
diff --git
a/compiler/nativeGen/AsmCodeGen.lhs
b/compiler/nativeGen/AsmCodeGen.lhs
index
f2a4226
..
116c159
100644
(file)
--- a/
compiler/nativeGen/AsmCodeGen.lhs
+++ b/
compiler/nativeGen/AsmCodeGen.lhs
@@
-141,12
+141,14
@@
nativeCodeGen dflags cmms us
-- stack so add the note in:
Pretty.$$ Pretty.text ".section .note.GNU-stack,\"\",@progbits"
#endif
+#if !defined(darwin_TARGET_OS)
-- And just because every other compiler does, lets stick in
-- an identifier directive: .ident "GHC x.y.z"
Pretty.$$ let compilerIdent = Pretty.text "GHC" Pretty.<+>
Pretty.text cProjectVersion
in Pretty.text ".ident" Pretty.<+>
Pretty.doubleQuotes compilerIdent
+#endif
)
}