Re: #8685: -split-objs doesn't work for executables
"GHC" <[email protected]> Wed, 06 Mar 2019 21:48:28 -0000
| Newsgroups | gmane.comp.lang.haskell.glasgow.bugs |
|---|---|
| Message-ID | <[email protected]> |
--===============6875215054796182509==
Content-Type: multipart/related;
boundary="===============1730268419481029179=="
--===============1730268419481029179==
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
#8685: -split-objs doesn't work for executables
-------------------------------------+-------------------------------------
Reporter: refold | Owner: (none)
Type: feature request | Status: new
Priority: normal | Milestone:
Component: Driver | Version: 7.6.3
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
-------------------------------------+-------------------------------------
Comment (by Marge Bot <ben+marge-bot@…>):
In [changeset:"37f257afcd6a52cf4d76c60d766b1aeb520b9f05/ghc"
37f257af/ghc]:
{{{
#!CommitTicketReference repository="ghc"
revision="37f257afcd6a52cf4d76c60d766b1aeb520b9f05"
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
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8685#comment:3>