Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch :
http://hackage.haskell.org/trac/ghc/changeset/1e85268bdbd58ed070cb20add469b2f5b9bfe6e6 >--------------------------------------------------------------- commit 1e85268bdbd58ed070cb20add469b2f5b9bfe6e6 Author: Karel Gardas <[email protected]> Date: Sat Jul 9 17:30:02 2011 +0200 LLVM: set target data layout for arm-unknown-linux triplet >--------------------------------------------------------------- compiler/llvmGen/LlvmCodeGen/Ppr.hs | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/compiler/llvmGen/LlvmCodeGen/Ppr.hs b/compiler/llvmGen/LlvmCodeGen/Ppr.hs index 40f7ce0..cd8a168 100644 --- a/compiler/llvmGen/LlvmCodeGen/Ppr.hs +++ b/compiler/llvmGen/LlvmCodeGen/Ppr.hs @@ -51,7 +51,14 @@ moduleLayout = $+$ text "target triple = \"x86_64-linux-gnu\"" #endif -#else /* Not x86 */ +#elif defined (arm_TARGET_ARCH) + +#if linux_TARGET_OS + text "target datalayout = \"e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f16:16:16-f32:32:32-f64:64:64-v64:64:64-v128:64:128-a0:0:64-n8:16:32\"" + $+$ text "target triple = \"arm-unknown-linux\"" +#endif + +#else -- FIX: Other targets empty #endif _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
