[commit: ghc] master: Add the powerpc64le architecture (8586f60)

git at git.haskell.org git at git.haskell.org
Tue Apr 22 04:40:32 UTC 2014


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

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

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

commit 8586f600613a6a99fee8fe707b00adab1a340641
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>


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

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

diff --git a/aclocal.m4 b/aclocal.m4
index 0c9a697..f9b574b 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -209,7 +209,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"
             ;;
         *)
@@ -1890,6 +1890,9 @@ case "$1" in
   mips*)
     $2="mips"
     ;;
+  powerpc64le*)
+    $2="powerpc64le"
+    ;;
   powerpc64*)
     $2="powerpc64"
     ;;



More information about the ghc-commits mailing list