[GHC] #12913: Port SplitSections to Windows

GHC ghc-devs at haskell.org
Fri Jul 7 23:02:44 UTC 2017


#12913: Port SplitSections to Windows
-------------------------------------+-------------------------------------
        Reporter:  olsner            |                Owner:  (none)
            Type:  task              |               Status:  patch
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.1
  (Linking)                          |
      Resolution:                    |             Keywords:
Operating System:  Windows           |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #8405             |  Differential Rev(s):  Phab:D3382
       Wiki Page:                    |  Phab:D3383 Phab:D3523
-------------------------------------+-------------------------------------

Comment (by Tamar Christina <tamar@…>):

 In [changeset:"bd4fdc6aa34a85268f3e9a2bd3f4142a97724ce4/ghc" bd4fdc6/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="bd4fdc6aa34a85268f3e9a2bd3f4142a97724ce4"
 Implement split-sections support for windows.

 Summary:
 Initial implementation of split-section on Windows.

 This also corrects section namings and uses the platform
 convention of `$` instead of `.` to separate sections.

 Implementation is based on @awson's patches to binutils.

 Binutils requires some extra help when compiling the libraries
 for GHCi usage. We drop the `-T` and use implicit scripts to amend
 the linker scripts instead of replacing it.

 Because of these very large GHCi object files, we need big-obj support,
 which will be added by another patch.

 Test Plan: ./validate

 Reviewers: awson, austin, bgamari

 Subscribers: dfeuer, rwbarton, thomie, snowleopard,
 #ghc_windows_task_force

 GHC Trac Issues: #12913

 Differential Revision: https://phabricator.haskell.org/D3383
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12913#comment:12>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list