Apply SplitSections to all C compilations
authorSimon Brenner <olsner@gmail.com>
Sun, 12 Feb 2017 00:25:16 +0000 (19:25 -0500)
committerBen Gamari <ben@smart-cactus.org>
Sun, 12 Feb 2017 00:58:35 +0000 (19:58 -0500)
commita50082c115bed1891b2e5aac4a21462935f4f0d6
tree4a348c54da987432d137687730b6eb2be4815344
parent6b4e46a1ad57f90726de7e5b7f59814aea5f03ef
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
rts/ghc.mk
rules/distdir-way-opts.mk