summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume GARDET <guillaume.gardet@opensuse.org>2018-05-18 08:56:28 +0200
committerBen Gamari <ben@smart-cactus.org>2018-05-30 10:01:53 -0400
commite4003b6dc6a84d870116de9f47057c15b1576f36 (patch)
tree7f7514e1aa204fc5471fe8dd0a0bc3de117d7f27
parent857005a762a12e021c3cc65b729bd6263b7145fb (diff)
downloadhaskell-e4003b6dc6a84d870116de9f47057c15b1576f36.tar.gz
llvm-targets: Add versioned ARM targets
Namely armv6l-unknown-linux-gnueabihf and armv7l-unknown-linux-gnueabihf.
-rw-r--r--llvm-targets4
-rwxr-xr-xutils/llvm-targets/gen-data-layout.sh4
2 files changed, 5 insertions, 3 deletions
diff --git a/llvm-targets b/llvm-targets
index 3c9da1e571..b67ee6ccfa 100644
--- a/llvm-targets
+++ b/llvm-targets
@@ -3,10 +3,12 @@
,("x86_64-unknown-windows", ("e-m:w-i64:64-f80:128-n8:16:32:64-S128", "x86-64", ""))
,("arm-unknown-linux-gnueabihf", ("e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64", "arm1176jzf-s", "+strict-align"))
,("armv6-unknown-linux-gnueabihf", ("e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64", "arm1136jf-s", "+strict-align"))
+,("armv6l-unknown-linux-gnueabihf", ("e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64", "arm1176jzf-s", "+strict-align"))
,("armv7-unknown-linux-gnueabihf", ("e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64", "generic", ""))
+,("armv7a-unknown-linux-gnueabi", ("e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64", "generic", ""))
+,("armv7l-unknown-linux-gnueabihf", ("e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64", "generic", ""))
,("aarch64-unknown-linux-gnu", ("e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128", "generic", "+neon"))
,("aarch64-unknown-linux", ("e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128", "generic", "+neon"))
-,("armv7a-unknown-linux-gnueabi", ("e-m:e-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64", "generic", ""))
,("i386-unknown-linux-gnu", ("e-m:e-p:32:32-f64:32:64-f80:32-n8:16:32-S128", "pentium4", ""))
,("i386-unknown-linux", ("e-m:e-p:32:32-f64:32:64-f80:32-n8:16:32-S128", "pentium4", ""))
,("x86_64-unknown-linux-gnu", ("e-m:e-i64:64-f80:128-n8:16:32:64-S128", "x86-64", ""))
diff --git a/utils/llvm-targets/gen-data-layout.sh b/utils/llvm-targets/gen-data-layout.sh
index 4f0b24076a..3d9ded1a51 100755
--- a/utils/llvm-targets/gen-data-layout.sh
+++ b/utils/llvm-targets/gen-data-layout.sh
@@ -22,8 +22,8 @@ TARGETS=(
"i386-unknown-windows" "i686-unknown-windows" "x86_64-unknown-windows"
# Linux ARM
- "arm-unknown-linux-gnueabihf" "armv6-unknown-linux-gnueabihf"
- "armv7-unknown-linux-gnueabihf" "armv7a-unknown-linux-gnueabi"
+ "arm-unknown-linux-gnueabihf" "armv6-unknown-linux-gnueabihf" "armv6l-unknown-linux-gnueabihf"
+ "armv7-unknown-linux-gnueabihf" "armv7a-unknown-linux-gnueabi" "armv7l-unknown-linux-gnueabihf"
"aarch64-unknown-linux-gnu" "aarch64-unknown-linux"
# Linux x86
"i386-unknown-linux-gnu" "i386-unknown-linux" "x86_64-unknown-linux-gnu" "x86_64-unknown-linux"