diff options
author | Ben Gamari <ben@smart-cactus.org> | 2018-11-26 17:21:12 -0500 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-03-05 22:22:40 -0500 |
commit | 37f257afcd6a52cf4d76c60d766b1aeb520b9f05 (patch) | |
tree | ac800e46fbf94c16ce39170f4a720637b07dde06 /hadrian/doc | |
parent | 646b6dfbe125aa756a935e840979ba11b4a882c0 (diff) | |
download | haskell-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 'hadrian/doc')
-rw-r--r-- | hadrian/doc/user-settings.md | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/hadrian/doc/user-settings.md b/hadrian/doc/user-settings.md index 68929d325a..d0531a3f3d 100644 --- a/hadrian/doc/user-settings.md +++ b/hadrian/doc/user-settings.md @@ -23,8 +23,6 @@ data Flavour = Flavour { libraryWays :: Ways, -- | Build RTS these ways. rtsWays :: Ways, - -- | Build split objects. - splitObjects :: Predicate, -- | Build dynamic GHC programs. dynamicGhcPrograms :: Action Bool, -- | Enable GHCi debugger. @@ -275,13 +273,6 @@ their effects. ## Miscellaneous -To change the default behaviour of Hadrian with respect to building split -objects, override the `splitObjects` setting of the `Flavour` record: -```haskell -userFlavour :: Flavour -userFlavour = defaultFlavour { name = "user", splitObjects = return False } -``` - Hadrian prints various progress info during the build. You can change the colours used by default by overriding `buildProgressColour` and `successColour`: ```haskell |