[commit: ghc] ghc-8.6: Add FreeBSD amd64 LLVM target (3893215)

git at git.haskell.org git at git.haskell.org
Thu Aug 9 17:16:01 UTC 2018


Repository : ssh://git@git.haskell.org/ghc

On branch  : ghc-8.6
Link       : http://ghc.haskell.org/trac/ghc/changeset/3893215068b964ed7968c8f06bb6c30617ecbb67/ghc

>---------------------------------------------------------------

commit 3893215068b964ed7968c8f06bb6c30617ecbb67
Author: Viktor Dukhovni <ietf-dane at dukhovni.org>
Date:   Thu Aug 9 01:47:02 2018 -0400

    Add FreeBSD amd64 LLVM target
    
    (cherry picked from commit 396aac4c65a47b6252e0a73d2a3066e924d53f11)


>---------------------------------------------------------------

3893215068b964ed7968c8f06bb6c30617ecbb67
 llvm-targets                          | 1 +
 utils/llvm-targets/gen-data-layout.sh | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/llvm-targets b/llvm-targets
index a0277f3..2537ece 100644
--- a/llvm-targets
+++ b/llvm-targets
@@ -16,6 +16,7 @@
 ,("armv7-unknown-linux-androideabi", ("e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64", "generic", ""))
 ,("aarch64-unknown-linux-android", ("e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128", "generic", "+neon"))
 ,("powerpc64le-unknown-linux", ("e-m:e-i64:64-n32:64", "ppc64le", ""))
+,("amd64-portbld-freebsd", ("e-m:e-i64:64-f80:128-n8:16:32:64-S128", "x86-64", ""))
 ,("arm-unknown-nto-qnx-eabi", ("e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64", "arm7tdmi", "+strict-align"))
 ,("i386-apple-darwin", ("e-m:o-p:32:32-f64:32:64-f80:128-n8:16:32-S128", "yonah", ""))
 ,("x86_64-apple-darwin", ("e-m:o-i64:64-f80:128-n8:16:32:64-S128", "core2", ""))
diff --git a/utils/llvm-targets/gen-data-layout.sh b/utils/llvm-targets/gen-data-layout.sh
index ab036a9..9ae8e45 100755
--- a/utils/llvm-targets/gen-data-layout.sh
+++ b/utils/llvm-targets/gen-data-layout.sh
@@ -32,6 +32,9 @@ TARGETS=(
     # Linux ppc64le
     "powerpc64le-unknown-linux"
 
+    # FreeBSD amd64
+    "amd64-portbld-freebsd"
+
     # QNX
     "arm-unknown-nto-qnx-eabi"
 



More information about the ghc-commits mailing list