From: Debian Haskell Group Date: Sat, 16 Jun 2012 10:48:18 +0000 (+0000) Subject: armhf_llvm_abi X-Git-Tag: archive/raspbian/8.0.2-9+rpi1~1^2^2^2^2^2^2~6 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=321e0935263969332ffdac31a45b805bdf441c68;p=ghc.git armhf_llvm_abi Gbp-Pq: Name armhf_llvm_abi --- diff --git a/compiler/main/DriverPipeline.hs b/compiler/main/DriverPipeline.hs index 2230f3fa..7ee4dd45 100644 --- a/compiler/main/DriverPipeline.hs +++ b/compiler/main/DriverPipeline.hs @@ -1,5 +1,5 @@ {-# OPTIONS -fno-cse #-} -{-# LANGUAGE NamedFieldPuns #-} +{-# LANGUAGE NamedFieldPuns, CPP #-} -- -fno-cse is needed for GLOBAL_VAR's to behave properly ----------------------------------------------------------------------------- @@ -1379,6 +1379,9 @@ runPhase LlvmLlc input_fn dflags then ["-mattr=+v7,+vfp3"] else if (elem VFPv3D16 ext) then ["-mattr=+v7,+vfp3,+d16"] +#ifdef __ARM_PCS_VFP + ++ ["-float-abi=hard"] +#endif else [] _ -> []