[commit: ghc] master: Linker: Define ELF_64BIT for aarch64_HOST_ARCH (8e0c658)

git at git.haskell.org git at git.haskell.org
Mon Jan 11 10:22:21 UTC 2016


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/8e0c658c7af47a9211e5bffdf36b09d7700427bb/ghc

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

commit 8e0c658c7af47a9211e5bffdf36b09d7700427bb
Author: Erik de Castro Lopo <erikd at mega-nerd.com>
Date:   Mon Jan 11 08:55:56 2016 +1100

    Linker: Define ELF_64BIT for aarch64_HOST_ARCH
    
    Test Plan: Build on x86_64 and AArch64
    
    Reviewers: hvr, austin, bgamari
    
    Reviewed By: bgamari
    
    Subscribers: thomie
    
    Differential Revision: https://phabricator.haskell.org/D1759


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

8e0c658c7af47a9211e5bffdf36b09d7700427bb
 rts/Linker.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/rts/Linker.c b/rts/Linker.c
index d298179..6e20984 100644
--- a/rts/Linker.c
+++ b/rts/Linker.c
@@ -4181,6 +4181,8 @@ ocRunInit_PEi386 ( ObjectCode *oc )
 #  define ELF_64BIT
 #elif defined(ia64_HOST_ARCH)
 #  define ELF_64BIT
+#elif defined(aarch64_HOST_ARCH)
+#  define ELF_64BIT
 #endif
 
 #if !defined(openbsd_HOST_OS)



More information about the ghc-commits mailing list