summaryrefslogtreecommitdiff
path: root/mozilla-1050258.patch
diff options
context:
space:
mode:
authorMartin Stransky <stransky@anakreon.cz>2014-12-23 15:56:26 +0100
committerMartin Stransky <stransky@anakreon.cz>2014-12-23 15:56:26 +0100
commitaf8f6b33a5263ecec1b88382f0f4248f5f86de8f (patch)
treee6577d9fa67b18fa23c31f0c1c42e7dac2b6891f /mozilla-1050258.patch
parentAdded fix for rhbz#1173156 - Native NTLM authentication on Linux unsupported (diff)
downloadlibrewolf-fedora-ff-af8f6b33a5263ecec1b88382f0f4248f5f86de8f.tar.gz
librewolf-fedora-ff-af8f6b33a5263ecec1b88382f0f4248f5f86de8f.tar.bz2
librewolf-fedora-ff-af8f6b33a5263ecec1b88382f0f4248f5f86de8f.zip
Added fix for rhbz#1170109 - data corruption bug on armhfp
Diffstat (limited to 'mozilla-1050258.patch')
-rw-r--r--mozilla-1050258.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/mozilla-1050258.patch b/mozilla-1050258.patch
new file mode 100644
index 0000000..e00fbba
--- /dev/null
+++ b/mozilla-1050258.patch
@@ -0,0 +1,29 @@
+# HG changeset patch
+# User Douglas Crosher <dtc-moz@scieneer.com>
+# Date 1415349848 -39600
+# Fri Nov 07 19:44:08 2014 +1100
+# Node ID b98d6205da98b5bec30b0677c30a6d09f351f4b8
+# Parent 17e19083908620e8a83876e49bac6f6ba2fcc272
+Bug 1050258 - ARM hard-float XPCOM: correct argument passing.
+
+diff --git a/xpcom/reflect/xptcall/md/unix/xptcinvoke_arm.cpp b/xpcom/reflect/xptcall/md/unix/xptcinvoke_arm.cpp
+--- a/xpcom/reflect/xptcall/md/unix/xptcinvoke_arm.cpp
++++ b/xpcom/reflect/xptcall/md/unix/xptcinvoke_arm.cpp
+@@ -219,16 +219,17 @@ static inline void copy_dword(uint32_t*
+ {
+ if (ireg_args + 1 < end) {
+ if ((uint32_t)ireg_args & 4) {
+ ireg_args++;
+ }
+ *(uint64_t *)ireg_args = data;
+ ireg_args += 2;
+ } else {
++ ireg_args = end;
+ if ((uint32_t)stack_args & 4) {
+ stack_args++;
+ }
+ *(uint64_t *)stack_args = data;
+ stack_args += 2;
+ }
+ }
+
bgstack15