[commit: ghc] wip/T16106: build system: Remove PowerPC Darwin support (3b52cc8)

git at git.haskell.org git at git.haskell.org
Sun Mar 31 15:06:26 UTC 2019


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

On branch  : wip/T16106
Link       : http://ghc.haskell.org/trac/ghc/changeset/3b52cc88df06ee7ddd20ed31750ddd4335cbd6d7/ghc

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

commit 3b52cc88df06ee7ddd20ed31750ddd4335cbd6d7
Author: Peter Trommler <ptrommler at acm.org>
Date:   Mon Dec 31 13:06:00 2018 +0100

    build system: Remove PowerPC Darwin support


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

3b52cc88df06ee7ddd20ed31750ddd4335cbd6d7
 configure.ac | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/configure.ac b/configure.ac
index 021ef94..874a128 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1221,16 +1221,7 @@ case ${TargetOS} in
         RtsLinkerUseMmap=1
         ;;
     darwin|ios|watchos|tvos)
-        # Don't use mmap on powerpc/darwin as the mmap there doesn't support
-        # reallocating. Reallocating is needed to allocate jump islands just
-        # after each object image. Jumps to these jump islands use relative
-        # branches which are limited to offsets that can be represented in
-        # 24-bits.
-        if test "$TargetArch" != "powerpc" ; then
-            RtsLinkerUseMmap=1
-        else
-            RtsLinkerUseMmap=0
-        fi
+        RtsLinkerUseMmap=1
         ;;
     *)
         # Windows (which doesn't have mmap) and everything else.



More information about the ghc-commits mailing list