Fix the GHC package DLL-splitting
authorIan Lynagh <ian@well-typed.com>
Mon, 13 May 2013 21:39:29 +0000 (22:39 +0100)
committerIan Lynagh <ian@well-typed.com>
Tue, 14 May 2013 12:49:09 +0000 (13:49 +0100)
commit60b86b04b2c214ef75b01371901a040933debf31
treeed89503ca5c5039464692d0993b3525e209c99a6
parentff1a16a0bd630f97dc507f96977eaaae9d8df9a6
Fix the GHC package DLL-splitting

There's now an internal -dll-split flag, which we use to tell GHC how
the GHC package is split into 2 separate DLLs. This is used by
Packages.isDllName to determine whether a call is within the same
DLL, or whether it is a call to another DLL.
12 files changed:
compiler/cmm/CLabel.hs
compiler/codeGen/StgCmmCon.hs
compiler/main/DynFlags.hs
compiler/main/HscMain.hs
compiler/main/Packages.lhs
compiler/main/TidyPgm.lhs
compiler/profiling/SCCfinal.lhs
compiler/stgSyn/CoreToStg.lhs
compiler/stgSyn/StgSyn.lhs
rules/build-package-data.mk
rules/distdir-way-opts.mk
utils/ghc-cabal/Main.hs