X-Git-Url: http://git.cielonegro.org/gitweb.cgi?p=pkgsrc-ghc.git;a=blobdiff_plain;f=patches%2Fpatch-compiler_nativeGen_AsmCodeGen.lhs;fp=patches%2Fpatch-compiler_nativeGen_AsmCodeGen.lhs;h=0000000000000000000000000000000000000000;hp=02b691be66deca0c5cda48a0b0bbe4e48a495014;hb=4fe2e34ec7254f1e4eb85b085ea22fd09866b245;hpb=96e61103d139f67648ba7729b614e2cedcbb1ad4 diff --git a/patches/patch-compiler_nativeGen_AsmCodeGen.lhs b/patches/patch-compiler_nativeGen_AsmCodeGen.lhs deleted file mode 100644 index 02b691b..0000000 --- a/patches/patch-compiler_nativeGen_AsmCodeGen.lhs +++ /dev/null @@ -1,28 +0,0 @@ -$NetBSD$ - -For systems having as(1) that doesn't recognise .ident -directives. (Already merged to the upstream) - - ---- compiler/nativeGen/AsmCodeGen.lhs.orig 2012-02-01 18:10:32.000000000 +0000 -+++ compiler/nativeGen/AsmCodeGen.lhs -@@ -525,12 +525,15 @@ makeImportsDoc dflags imports - (if platformHasGnuNonexecStack (targetPlatform dflags) - then Pretty.text ".section .note.GNU-stack,\"\",@progbits" - else Pretty.empty) -+ Pretty.$$ - -- 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 -+ (if platformHasIdentDirective (targetPlatform dflags) -+ then let compilerIdent = Pretty.text "GHC" Pretty.<+> -+ Pretty.text cProjectVersion -+ in Pretty.text ".ident" Pretty.<+> -+ Pretty.doubleQuotes compilerIdent -+ else Pretty.empty) - - where - -- Generate "symbol stubs" for all external symbols that might