[commit: ghc] ghc-7.8: Add the powerpc64le architecture (8f71836)

git at git.haskell.org git at git.haskell.org
Tue Apr 22 06:09:04 UTC 2014


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

On branch  : ghc-7.8
Link       : http://ghc.haskell.org/trac/ghc/changeset/8f71836581f9abc1d03246193cb4cea4d52e63e9/ghc

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

commit 8f71836581f9abc1d03246193cb4cea4d52e63e9
Author: Colin Watson <cjwatson at debian.org>
Date:   Sat Apr 12 02:13:48 2014 +0100

    Add the powerpc64le architecture
    
    This is ArchUnknown for now, as it requires some porting work over and
    above powerpc64 due to such things as the different function calling
    sequence in the ELFv2 ABI.  For now, an unregisterised port is better
    than nothing.
    
    Signed-off-by: Colin Watson <cjwatson at debian.org>
    Signed-off-by: Austin Seipp <austin at well-typed.com>
    (cherry picked from commit 8586f600613a6a99fee8fe707b00adab1a340641)


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

8f71836581f9abc1d03246193cb4cea4d52e63e9
 aclocal.m4 |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/aclocal.m4 b/aclocal.m4
index 7cae3b5..ce1e75e 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -206,7 +206,7 @@ AC_DEFUN([FPTOOLS_SET_HASKELL_PLATFORM_VARS],
         mipsel)
             test -z "[$]2" || eval "[$]2=ArchMipsel"
             ;;
-        hppa|hppa1_1|ia64|m68k|rs6000|s390|s390x|sparc64|vax)
+        hppa|hppa1_1|ia64|m68k|powerpc64le|rs6000|s390|s390x|sparc64|vax)
             test -z "[$]2" || eval "[$]2=ArchUnknown"
             ;;
         *)
@@ -1884,6 +1884,9 @@ case "$1" in
   mips*)
     $2="mips"
     ;;
+  powerpc64le*)
+    $2="powerpc64le"
+    ;;
   powerpc64*)
     $2="powerpc64"
     ;;



More information about the ghc-commits mailing list