[GHC] #8405: experiment with using function-sections for linking (for smaller libs and executables)
GHC
ghc-devs at haskell.org
Sun Nov 1 09:46:46 UTC 2015
#8405: experiment with using function-sections for linking (for smaller libs and
executables)
-------------------------------------+-------------------------------------
Reporter: carter | Owner: olsner
Type: task | Status: new
Priority: normal | Milestone: 8.0.1
Component: Compiler | 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): Phab:D1242
-------------------------------------+-------------------------------------
Comment (by Ben Gamari <ben@…>):
In [changeset:"3021cc06f84109c6e7a529318d690c520748f936/ghc"
3021cc06/ghc]:
{{{
#!CommitTicketReference repository="ghc"
revision="3021cc06f84109c6e7a529318d690c520748f936"
Add rts/Linker support for more than 64k sections
Since some ELF fields ran out of range to represent that many sections,
they've been extended with magic numbers that indicate that the full
value is stored in another field.
This will be necessary for GHCi with -split-sections on ELF platforms
that don't use GNU ld.
Reviewers: austin, bgamari, simonmar, erikd
Reviewed By: bgamari, simonmar, erikd
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D1357
GHC Trac Issues: #8405
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8405#comment:15>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list