[commit: ghc] master: llvm-targets: Add amd64-unknown-freebsd triple (9b8713e)

git at git.haskell.org git at git.haskell.org
Fri Dec 14 03:00:11 UTC 2018


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/9b8713e8bf905c17251a0fad22eee690c4e50f0c/ghc

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

commit 9b8713e8bf905c17251a0fad22eee690c4e50f0c
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Thu Dec 13 13:25:05 2018 -0500

    llvm-targets: Add amd64-unknown-freebsd triple
    
    396aac4c65a47b6252e0a73d2a3066e924d53f11 added the
    amd64-portbld-freebsd triple but #15718 suggests that we should rather
    be using x86_64-unknown-freebsd. Not knowing which is correct I've left
    the amd64-portbld- triplet in place.


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

9b8713e8bf905c17251a0fad22eee690c4e50f0c
 llvm-targets                          | 1 +
 utils/llvm-targets/gen-data-layout.sh | 1 +
 2 files changed, 2 insertions(+)

diff --git a/llvm-targets b/llvm-targets
index 2537ece..a73eb84 100644
--- a/llvm-targets
+++ b/llvm-targets
@@ -17,6 +17,7 @@
 ,("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", ""))
+,("x86_64-unknown-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 85ee5c5..7060b10 100755
--- a/utils/llvm-targets/gen-data-layout.sh
+++ b/utils/llvm-targets/gen-data-layout.sh
@@ -34,6 +34,7 @@ TARGETS=(
 
     # FreeBSD amd64
     "amd64-portbld-freebsd"
+    "x86_64-unknown-freebsd" # See #15718
 
     # QNX
     "arm-unknown-nto-qnx-eabi"



More information about the ghc-commits mailing list