summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2018-11-26 17:21:12 -0500
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-03-05 22:22:40 -0500
commit37f257afcd6a52cf4d76c60d766b1aeb520b9f05 (patch)
treeac800e46fbf94c16ce39170f4a720637b07dde06 /distrib
parent646b6dfbe125aa756a935e840979ba11b4a882c0 (diff)
downloadhaskell-37f257afcd6a52cf4d76c60d766b1aeb520b9f05.tar.gz
Rip out object splitting
The splitter is an evil Perl script that processes assembler code. Its job can be done better by the linker's --gc-sections flag. GHC passes this flag to the linker whenever -split-sections is passed on the command line. This is based on @DemiMarie's D2768. Fixes Trac #11315 Fixes Trac #9832 Fixes Trac #8964 Fixes Trac #8685 Fixes Trac #8629
Diffstat (limited to 'distrib')
-rw-r--r--distrib/cross-port1
-rw-r--r--distrib/hc-build1
2 files changed, 0 insertions, 2 deletions
diff --git a/distrib/cross-port b/distrib/cross-port
index 7c54604ae6..4a1854135a 100644
--- a/distrib/cross-port
+++ b/distrib/cross-port
@@ -35,7 +35,6 @@ if [ ! -f b1-stamp ]; then
echo "GhcUnregisterised = YES" >> mk/build.mk
echo "GhcLibHcOpts = -O -H32m -fvia-C -keep-hc-files" >> mk/build.mk
echo "GhcLibWays =" >> mk/build.mk
- echo "SplitObjs = NO" >> mk/build.mk
# We could optimise slightly by not building hslibs here. Also, building
# the RTS is not necessary (and might not be desirable if we're using
diff --git a/distrib/hc-build b/distrib/hc-build
index 43133f83de..13afaa7adb 100644
--- a/distrib/hc-build
+++ b/distrib/hc-build
@@ -32,7 +32,6 @@ cat >>mk/build.mk <<END
GhcUnregisterised=YES
GhcWithInterpreter=NO
GhcWithNativeCodeGen=NO
-SplitObjs=NO
GhcLibWays=
GhcWithSMP=NO
END