summaryrefslogtreecommitdiff
path: root/compiler/main/SysTools.hs
diff options
context:
space:
mode:
authorJohn Ericson <git@JohnEricson.me>2019-03-27 00:27:01 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-05-06 14:59:29 -0400
commit27941064872b19f65e99ba65b7fa8635268ee738 (patch)
treec601e08e8b9be05605cc04daf28cb2642585aa31 /compiler/main/SysTools.hs
parentead3f835e24338fb3df3ebdec3e86f9364df7c9c (diff)
downloadhaskell-27941064872b19f65e99ba65b7fa8635268ee738.tar.gz
Remove cGhcEnableTablesNextToCode
Get "Tables next to code" from the settings file instead.
Diffstat (limited to 'compiler/main/SysTools.hs')
-rw-r--r--compiler/main/SysTools.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/main/SysTools.hs b/compiler/main/SysTools.hs
index 6eccdd7ec6..4374c35dcf 100644
--- a/compiler/main/SysTools.hs
+++ b/compiler/main/SysTools.hs
@@ -184,6 +184,7 @@ initSysTools top_dir
targetHasGnuNonexecStack <- readSetting "target has GNU nonexec stack"
targetHasIdentDirective <- readSetting "target has .ident directive"
targetHasSubsectionsViaSymbols <- readSetting "target has subsections via symbols"
+ tablesNextToCode <- getBooleanSetting "Tables next to code"
myExtraGccViaCFlags <- getSetting "GCC extra via C opts"
-- On Windows, mingw is distributed with GHC,
-- so we look in TopDir/../mingw/bin,
@@ -303,7 +304,8 @@ initSysTools top_dir
sOpt_lo = [],
sOpt_lc = [],
sOpt_i = [],
- sPlatformConstants = platformConstants
+ sPlatformConstants = platformConstants,
+ sTablesNextToCode = tablesNextToCode
}