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

git at git.haskell.org git at git.haskell.org
Mon Dec 31 12:09:51 UTC 2018


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

On branch  : wip/T16106
Link       : http://ghc.haskell.org/trac/ghc/changeset/93440223ea1de192d2f84a36c71e12958c5b0925/ghc

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

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

    build system: Remove PowerPC Darwin support


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

93440223ea1de192d2f84a36c71e12958c5b0925
 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