summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViktor Dukhovni <ietf-dane@dukhovni.org>2018-08-09 01:47:02 -0400
committerBen Gamari <ben@smart-cactus.org>2018-08-09 09:22:29 -0400
commit396aac4c65a47b6252e0a73d2a3066e924d53f11 (patch)
tree0f8928ac4fd1bea4d110cf037c006a9a3ef94983
parent60e12f26a28ce4ed0ecb905baef207a0388947f1 (diff)
downloadhaskell-396aac4c65a47b6252e0a73d2a3066e924d53f11.tar.gz
Add FreeBSD amd64 LLVM target
-rw-r--r--llvm-targets1
-rwxr-xr-xutils/llvm-targets/gen-data-layout.sh3
2 files changed, 4 insertions, 0 deletions
diff --git a/llvm-targets b/llvm-targets
index a0277f3e9d..2537ecea7d 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 3d222d0755..85ee5c52c4 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"