[PATCH 1/2] fix rts/Linker compilation issues on AMD64/Solaris platform

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[PATCH 1/2] fix rts/Linker compilation issues on AMD64/Solaris platform

Karel Gardas
---
 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