[commit: ghc] ghc-8.0: Linker: Define ELF_64BIT for aarch64_HOST_ARCH (9705d54)
git at git.haskell.org
git at git.haskell.org
Wed Jan 13 19:34:04 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : ghc-8.0
Link : http://ghc.haskell.org/trac/ghc/changeset/9705d54da4919f502054be8c7bd69a56d7f98a59/ghc
>---------------------------------------------------------------
commit 9705d54da4919f502054be8c7bd69a56d7f98a59
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
(cherry picked from commit 8e0c658c7af47a9211e5bffdf36b09d7700427bb)
>---------------------------------------------------------------
9705d54da4919f502054be8c7bd69a56d7f98a59
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