diff options
author | Ben Lippmeier <benl@ouroborus.net> | 2011-05-15 20:26:22 +1000 |
---|---|---|
committer | Ben Lippmeier <benl@ouroborus.net> | 2011-05-15 20:26:22 +1000 |
commit | a36cd6377ee2a65537fc02b78015937b50a69286 (patch) | |
tree | d48433d52c597c43654b894a178bae320052ece4 /compiler/nativeGen/AsmCodeGen.lhs | |
parent | 4ed961f645b62d231c4f0514ac76ad331c2f6642 (diff) | |
download | haskell-a36cd6377ee2a65537fc02b78015937b50a69286.tar.gz |
Fix build: Add missing import and remove unneeded #ifdef.
From Erik de Castro Lopo.
Diffstat (limited to 'compiler/nativeGen/AsmCodeGen.lhs')
-rw-r--r-- | compiler/nativeGen/AsmCodeGen.lhs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/compiler/nativeGen/AsmCodeGen.lhs b/compiler/nativeGen/AsmCodeGen.lhs index dce5ac3581..57faa6ff0e 100644 --- a/compiler/nativeGen/AsmCodeGen.lhs +++ b/compiler/nativeGen/AsmCodeGen.lhs @@ -50,6 +50,7 @@ import qualified RegAlloc.Graph.TrivColorable as Color import TargetReg import Platform +import Config import Instruction import PIC import Reg @@ -450,14 +451,12 @@ makeImportsDoc dflags imports -- 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.$$ let compilerIdent = Pretty.text "GHC" Pretty.<+> Pretty.text cProjectVersion in Pretty.text ".ident" Pretty.<+> Pretty.doubleQuotes compilerIdent -#endif where -- Generate "symbol stubs" for all external symbols that might |