u-prefer-local-css.patch
u-make-tests-work-without-rpath.patch
u-fix-rustdoc-theme-test-without-rpath.patch
+u-fix-fp-target-warning.patch
# https://github.com/rust-lang/compiler-rt/pull/35/
u-compiler-rt.patch
--- /dev/null
+From 5e5374677a642994da2f5c12148abc5f104320e0 Mon Sep 17 00:00:00 2001
+From: Amanieu d'Antras <amanieu@gmail.com>
+Date: Tue, 10 Apr 2018 22:34:15 +0100
+Subject: [PATCH] Fix "fp" feature for AArch64
+
+---
+ src/librustc_trans/llvm_util.rs | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/librustc_trans/llvm_util.rs b/src/librustc_trans/llvm_util.rs
+index 1c8f09ce7b3f..ad128516a3af 100644
+--- a/src/librustc_trans/llvm_util.rs
++++ b/src/librustc_trans/llvm_util.rs
+@@ -134,6 +134,7 @@ pub fn to_llvm_feature<'a>(sess: &Session, s: &'a str) -> &'a str {
+ ("x86", "pclmulqdq") => "pclmul",
+ ("x86", "rdrand") => "rdrnd",
+ ("x86", "bmi1") => "bmi",
++ ("aarch64", "fp") => "fp-armv8",
+ ("aarch64", "fp16") => "fullfp16",
+ (_, s) => s,
+ }