Ticket #7084: 0001-Fix-compile-on-linux-powerpc64.-7084.patch

File 0001-Fix-compile-on-linux-powerpc64.-7084.patch, 640 bytes (added by erikd, 21 months ago)
  • rts/Linker.c

    From 0c4744eb8256310f4c4cbf560c6d4f3f7b1d2db0 Mon Sep 17 00:00:00 2001
    From: Erik de Castro Lopo <erikd@mega-nerd.com>
    Date: Fri, 20 Jul 2012 15:46:19 +1000
    Subject: [PATCH] Fix compile on linux-powerpc64. (#7084).
    
    ---
     rts/Linker.c |    2 ++
     1 file changed, 2 insertions(+)
    
    diff --git a/rts/Linker.c b/rts/Linker.c
    index 1ccc7e5..1c2f5e7 100644
    a b ocResolve_PEi386 ( ObjectCode* oc ) 
    39973997#elif defined(x86_64_HOST_ARCH) 
    39983998#  define ELF_TARGET_X64_64 
    39993999#  define ELF_64BIT 
     4000#elif defined(powerpc64_HOST_ARCH) 
     4001#  define ELF_64BIT 
    40004002#endif 
    40014003 
    40024004#if !defined(openbsd_HOST_OS)