Repository : ssh://darcs.haskell.org//srv/darcs/ghc On branch : master
http://hackage.haskell.org/trac/ghc/changeset/0ce75cf91d0d7beb082543345c5c9f2789073ffe >--------------------------------------------------------------- commit 0ce75cf91d0d7beb082543345c5c9f2789073ffe Author: Karel Gardas <[email protected]> Date: Tue Jul 12 18:29:58 2011 +0200 fix ARM/LLVM target data layout specification together with target triple This patch fixes ARM/LLVM target data layout specification based on what Clang is using itself. I've modified Clang's used triple a little bit from armv4t-* to arm-* though >--------------------------------------------------------------- compiler/llvmGen/LlvmCodeGen/Ppr.hs | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/llvmGen/LlvmCodeGen/Ppr.hs b/compiler/llvmGen/LlvmCodeGen/Ppr.hs index cd8a168..399a82f 100644 --- a/compiler/llvmGen/LlvmCodeGen/Ppr.hs +++ b/compiler/llvmGen/LlvmCodeGen/Ppr.hs @@ -54,8 +54,8 @@ moduleLayout = #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\"" + text "target datalayout = \"e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:64:128-a0:0:64-n32\"" + $+$ text "target triple = \"arm-unknown-linux-gnueabi\"" #endif #else _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
