fix rts/Linker compilation issues on AMD64/Solaris platform
authorSimon Marlow <marlowsd@gmail.com>
Wed, 23 Jan 2013 10:23:08 +0000 (10:23 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Wed, 23 Jan 2013 10:23:08 +0000 (10:23 +0000)
Submitted by: Karel Gardas <karel.gardas@centrum.cz>

rts/Linker.c

index fa1de89..b97a30c 100644 (file)
@@ -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