diff options
author | Simon Marlow <simonmar@microsoft.com> | 2006-08-22 09:03:49 +0000 |
---|---|---|
committer | Simon Marlow <simonmar@microsoft.com> | 2006-08-22 09:03:49 +0000 |
commit | 119e76b23158f2fa37a65d018cadb7af0cbf2f9b (patch) | |
tree | b1aa99a5a314ad228fc7b49e70f5bb95f9ff9415 | |
parent | 003c746e297163f59ffe826e4a7575fb0737ef93 (diff) | |
download | haskell-119e76b23158f2fa37a65d018cadb7af0cbf2f9b.tar.gz |
disable .ident generation on darwin_TARGET_OS
-rw-r--r-- | compiler/nativeGen/AsmCodeGen.lhs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/nativeGen/AsmCodeGen.lhs b/compiler/nativeGen/AsmCodeGen.lhs index f2a4226a42..116c159ff2 100644 --- 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 ) } |