diff --git a/compiler/GHC/Driver/DynFlags.hs b/compiler/GHC/Driver/DynFlags.hs index c79b0e2dd9b393ef2d652187b6af2a22dbc7de39..cee00de5d2f539107076678f38eac9e3af3be0c8 100644 --- a/compiler/GHC/Driver/DynFlags.hs +++ b/compiler/GHC/Driver/DynFlags.hs @@ -60,10 +60,6 @@ module GHC.Driver.DynFlags ( versionedAppDir, versionedFilePath, extraGccViaCFlags, globalPackageDatabasePath, - -- * Linker/compiler information - LinkerInfo(..), - CompilerInfo(..), - -- * Include specifications IncludeSpecs(..), addGlobalInclude, addQuoteInclude, flattenIncludes, addImplicitQuoteInclude, @@ -756,31 +752,6 @@ data ParMakeCount -- | Use the specific semaphore @<sem>@ to control parallelism (@-jsem <sem>@ flag). | ParMakeSemaphore FilePath --- ----------------------------------------------------------------------------- --- Linker/compiler information - --- LinkerInfo contains any extra options needed by the system linker. -data LinkerInfo - = GnuLD [Option] - | Mold [Option] - | GnuGold [Option] - | LlvmLLD [Option] - | DarwinLD [Option] - | SolarisLD [Option] - | AixLD [Option] - | UnknownLD - deriving Eq - --- CompilerInfo tells us which C compiler we're using -data CompilerInfo - = GCC - | Clang - | AppleClang - | AppleClang51 - | Emscripten - | UnknownCC - deriving Eq - -- | The 'GhcMode' tells us whether we're doing multi-module -- compilation (controlled via the "GHC" API) or one-shot -- (single-module) compilation. This makes a difference primarily to diff --git a/compiler/GHC/Driver/Session.hs b/compiler/GHC/Driver/Session.hs index 147bfccf6f0c956dd3ab19598ee9ea740e22f6ec..e236f934ef2fe5eb22068d54a58ac84b1fda9307 100644 --- a/compiler/GHC/Driver/Session.hs +++ b/compiler/GHC/Driver/Session.hs @@ -215,8 +215,6 @@ module GHC.Driver.Session ( isFmaEnabled, -- * Linker/compiler information - LinkerInfo(..), - CompilerInfo(..), useXLinkerRPath, -- * Include specifications