[commit: ghc] master: Revert "Allocate bss section within proper range of other sections" (9cbf6f2)

git at git.haskell.org git at git.haskell.org
Tue Oct 30 21:29:59 UTC 2018


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

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

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

commit 9cbf6f2baf793e361d41b9c36497c5601ff22253
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Tue Oct 30 14:47:53 2018 -0400

    Revert "Allocate bss section within proper range of other sections"
    
    This reverts commit e019ec94f12268dd92ea5d5204e9e57e7ebf10ca.
    
    This sadly breaks the external interpreter on i386.
    
    For instance, see https://circleci.com/gh/ghc/ghc/10925.


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

9cbf6f2baf793e361d41b9c36497c5601ff22253
 rts/Linker.c                               | 22 ++++-----
 rts/LinkerInternals.h                      |  4 --
 rts/linker/Elf.c                           | 73 ++++++++++++------------------
 rts/linker/Elf.h                           |  2 +-
 rts/linker/MachO.c                         | 27 +++++------
 rts/linker/MachO.h                         |  2 +-
 rts/linker/PEi386.c                        |  2 +-
 rts/linker/PEi386.h                        |  2 +-
 rts/linker/SymbolExtras.c                  | 31 +++++++------
 rts/linker/SymbolExtras.h                  |  2 +-
 rts/sm/OSMem.h                             | 10 +---
 testsuite/tests/ghci/linking/Makefile      |  5 --
 testsuite/tests/ghci/linking/T15729.c      |  4 --
 testsuite/tests/ghci/linking/T15729.hs     | 14 ------
 testsuite/tests/ghci/linking/T15729.stdout |  2 -
 testsuite/tests/ghci/linking/all.T         |  6 ---
 16 files changed, 76 insertions(+), 132 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 9cbf6f2baf793e361d41b9c36497c5601ff22253


More information about the ghc-commits mailing list