[PATCH 1/2] fix rts/Linker compilation issues on AMD64/Solaris platform
Karel Gardas
karel.gardas at centrum.cz
Fri Jan 18 22:30:56 CET 2013
---
rts/Linker.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/rts/Linker.c b/rts/Linker.c
index fa1de89..b97a30c 100644
--- a/rts/Linker.c
+++ b/rts/Linker.c
@@ -4088,6 +4088,7 @@ ocResolve_PEi386 ( ObjectCode* oc )
#elif defined(x86_64_HOST_ARCH)
# define ELF_TARGET_X64_64
# define ELF_64BIT
+# define ELF_TARGET_AMD64 /* Used inside <elf.h> on Solaris 11 */
#elif defined(powerpc64_HOST_ARCH)
# define ELF_64BIT
#endif
--
1.7.3.2
More information about the ghc-devs
mailing list