summaryrefslogtreecommitdiffstats
path: root/debian/patches/porting-armel/Avoid-using-vmrs-vmsr-on-armel.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/porting-armel/Avoid-using-vmrs-vmsr-on-armel.patch')
-rw-r--r--debian/patches/porting-armel/Avoid-using-vmrs-vmsr-on-armel.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/patches/porting-armel/Avoid-using-vmrs-vmsr-on-armel.patch b/debian/patches/porting-armel/Avoid-using-vmrs-vmsr-on-armel.patch
new file mode 100644
index 0000000000..ffe17912ca
--- /dev/null
+++ b/debian/patches/porting-armel/Avoid-using-vmrs-vmsr-on-armel.patch
@@ -0,0 +1,21 @@
+From: Mike Hommey <mh@glandium.org>
+Date: Tue, 22 May 2018 07:51:56 +0900
+Subject: Avoid using vmrs/vmsr on armel
+
+---
+ dom/media/webaudio/blink/DenormalDisabler.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/dom/media/webaudio/blink/DenormalDisabler.h b/dom/media/webaudio/blink/DenormalDisabler.h
+index 646482b..8803a7d 100644
+--- a/dom/media/webaudio/blink/DenormalDisabler.h
++++ b/dom/media/webaudio/blink/DenormalDisabler.h
+@@ -45,7 +45,7 @@ namespace WebCore {
+ # define HAVE_DENORMAL 1
+ #endif
+
+-#if defined(__arm__) || defined(__aarch64__)
++#if (defined(__arm__) && !defined(__SOFTFP__)) || defined(__aarch64__)
+ # define HAVE_DENORMAL 1
+ #endif
+