File llvm-powerpc64-datalayout.patch of Package ghc

Index: ghc-7.6.3/compiler/llvmGen/LlvmCodeGen/Ppr.hs
===================================================================
--- ghc-7.6.3.orig/compiler/llvmGen/LlvmCodeGen/Ppr.hs
+++ ghc-7.6.3/compiler/llvmGen/LlvmCodeGen/Ppr.hs
@@ -68,6 +68,13 @@ moduleLayout =
     $+$ text "target triple = \"arm-unknown-linux-gnueabi\""
 #endif
 
+#elif defined (powerpc64_TARGET_ARCH)
+
+#if linux_TARGET_OS
+    text "target datalayout = \"E-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v128:128:128-n32:64\""
+    $+$ text "target triple = \"powerpc64-unknown-linux-gnu\""
+#endif
+
 #else
     -- FIX: Other targets
     empty