[commit: ghc] master: Implement split-sections support for windows. (bd4fdc6)

git at git.haskell.org git at git.haskell.org
Fri Jul 7 23:02:50 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/bd4fdc6aa34a85268f3e9a2bd3f4142a97724ce4/ghc

>---------------------------------------------------------------

commit bd4fdc6aa34a85268f3e9a2bd3f4142a97724ce4
Author: Tamar Christina <tamar at zhox.com>
Date:   Sun Mar 26 19:05:46 2017 +0100

    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


>---------------------------------------------------------------

bd4fdc6aa34a85268f3e9a2bd3f4142a97724ce4
 compiler/llvmGen/LlvmCodeGen/Data.hs               | 20 ++++++++++----
 compiler/nativeGen/PprBase.hs                      | 31 ++++++++++++++--------
 docs/users_guide/8.4.1-notes.rst                   |  3 +++
 .../{merge_sections.ld => merge_sections_pe.ld}    | 20 +++++++-------
 mk/config.mk.in                                    |  2 +-
 rules/build-package-way.mk                         |  8 +++++-
 6 files changed, 56 insertions(+), 28 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc bd4fdc6aa34a85268f3e9a2bd3f4142a97724ce4


More information about the ghc-commits mailing list