Ticket #7999: 0001-Support-QNXNTO-for-arm-under-LLVM.patch

File 0001-Support-QNXNTO-for-arm-under-LLVM.patch, 1.4 KB (added by singpolyma, 22 months ago)
  • compiler/llvmGen/LlvmCodeGen/Ppr.hs

    From 80d9649081a135324b97135c4d03bea40240ebca Mon Sep 17 00:00:00 2001
    From: Stephen Paul Weber <[email protected]>
    Date: Wed, 19 Jun 2013 20:22:45 -0500
    Subject: [PATCH] Support QNXNTO for arm under LLVM
    
    ---
     compiler/llvmGen/LlvmCodeGen/Ppr.hs |    3 +++
     1 file changed, 3 insertions(+)
    
    diff --git a/compiler/llvmGen/LlvmCodeGen/Ppr.hs b/compiler/llvmGen/LlvmCodeGen/Ppr.hs
    index c699631..3afa910 100644
    a b moduleLayout = sdocWithPlatform $ \platform -> 
    6161    Platform { platformArch = ArchARM {}, platformOS = OSAndroid } -> 
    6262        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\"" 
    6363        $+$ text "target triple = \"arm-unknown-linux-androideabi\"" 
     64    Platform { platformArch = ArchARM {}, platformOS = OSQNXNTO } -> 
     65        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\"" 
     66        $+$ text "target triple = \"arm-unknown-nto-qnx8.0.0eabi\"" 
    6467    Platform { platformArch = ArchARM {}, platformOS = OSiOS } -> 
    6568        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\"" 
    6669        $+$ text "target triple = \"arm-apple-darwin10\""