[GHC] #8405: experiment with using function-sections for linking (for smaller libs and executables)
GHC
ghc-devs at haskell.org
Sun Feb 12 01:08:31 UTC 2017
#8405: experiment with using function-sections for linking (for smaller libs and
executables)
-------------------------------------+-------------------------------------
Reporter: carter | Owner: olsner
Type: task | Status: closed
Priority: normal | Milestone: 8.0.1
Component: Compiler | Version: 7.6.3
Resolution: fixed | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s): Phab:D1242
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Ben Gamari <ben@…>):
In [changeset:"a50082c115bed1891b2e5aac4a21462935f4f0d6/ghc" a50082c/ghc]:
{{{
#!CommitTicketReference repository="ghc"
revision="a50082c115bed1891b2e5aac4a21462935f4f0d6"
Apply SplitSections to all C compilations
Previously this was added only to the RTS's C files (those are the bulk
of it though), but there are C bits in ghc-prim, integer-gmp and base
too.
Followup for #8405, allows the large table of character properties in
base to be stripped when not used.
Test Plan: validate
Reviewers: austin, bgamari, simonmar
Reviewed By: bgamari
Subscribers: thomie, snowleopard
Differential Revision: https://phabricator.haskell.org/D3121
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8405#comment:23>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list