X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2FnativeGen%2FAsmCodeGen.lhs;h=b8fd0e3c8e84cb308a9848569d9778f30baa00a7;hb=7a1b0a6cba556511688cb1824f48e31fe6c4cc07;hp=95a5b6c06b628513bfd7e52047593fe126724efa;hpb=e195ea859d2d4227c478a3b5e1e9ac20b086b0c7;p=ghc-hetmet.git diff --git a/ghc/compiler/nativeGen/AsmCodeGen.lhs b/ghc/compiler/nativeGen/AsmCodeGen.lhs index 95a5b6c..b8fd0e3 100644 --- a/ghc/compiler/nativeGen/AsmCodeGen.lhs +++ b/ghc/compiler/nativeGen/AsmCodeGen.lhs @@ -33,10 +33,8 @@ import UniqFM import Unique ( Unique, getUnique ) import UniqSupply import FastTypes -#if darwin_TARGET_OS || (powerpc_TARGET_ARCH && linux_TARGET_OS) import List ( groupBy, sortBy ) import CLabel ( pprCLabel ) -#endif import ErrUtils ( dumpIfSet_dyn ) import CmdLineOpts ( DynFlags, DynFlag(..), dopt, opt_Static, opt_EnsureSplittableC, opt_PIC ) @@ -133,7 +131,6 @@ nativeCodeGen dflags cmms us split_marker = CmmProc [] mkSplitMarkerLabel [] [] -#if darwin_TARGET_OS || (powerpc_TARGET_ARCH && linux_TARGET_OS) -- Generate "symbol stubs" for all external symbols that might -- come from a dynamic library. {- dyld_stubs imps = Pretty.vcat $ map pprDyldSymbolStub $ @@ -155,9 +152,6 @@ nativeCodeGen dflags cmms us where doPpr lbl = (lbl, Pretty.render $ pprCLabel lbl astyle) astyle = mkCodeStyle AsmStyle -#else - dyld_stubs imps = Pretty.empty -#endif #ifndef NCG_DEBUG my_vcat sds = Pretty.vcat sds