about summary refs log tree commit diff
diff options
context:
space:
mode:
authorgnzlbg <gonzalobg88@gmail.com>2019-02-13 22:29:27 +0100
committergnzlbg <gonzalobg88@gmail.com>2019-02-13 22:29:27 +0100
commit6bce2b81986a1a8da930c11b9b9d907a792b3f61 (patch)
treea522373f95bd70768ea97f85b99fad00c4290bc7
parentd1731801163df1d3a8d4ddfa68adac2ec833ef7f (diff)
downloadrust-6bce2b81986a1a8da930c11b9b9d907a792b3f61.tar.gz
rust-6bce2b81986a1a8da930c11b9b9d907a792b3f61.zip
Whitelist the ARM v6 target-feature
-rw-r--r--src/librustc_codegen_llvm/llvm_util.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librustc_codegen_llvm/llvm_util.rs b/src/librustc_codegen_llvm/llvm_util.rs
index b46e6ef84b9..9fe0a4c45f9 100644
--- a/src/librustc_codegen_llvm/llvm_util.rs
+++ b/src/librustc_codegen_llvm/llvm_util.rs
@@ -100,6 +100,7 @@ const ARM_WHITELIST: &[(&str, Option<&str>)] = &[
     ("dsp", Some("arm_target_feature")),
     ("neon", Some("arm_target_feature")),
     ("v5te", Some("arm_target_feature")),
+    ("v6", Some("arm_target_feature")),
     ("v6k", Some("arm_target_feature")),
     ("v6t2", Some("arm_target_feature")),
     ("v7", Some("arm_target_feature")),