aboutsummaryrefslogtreecommitdiffstats
path: root/packages/mozilla/firefox-2.0.0.1/jsdtoa-float-type.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/mozilla/firefox-2.0.0.1/jsdtoa-float-type.patch')
-rw-r--r--packages/mozilla/firefox-2.0.0.1/jsdtoa-float-type.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/mozilla/firefox-2.0.0.1/jsdtoa-float-type.patch b/packages/mozilla/firefox-2.0.0.1/jsdtoa-float-type.patch
new file mode 100644
index 0000000000..028900fa1b
--- /dev/null
+++ b/packages/mozilla/firefox-2.0.0.1/jsdtoa-float-type.patch
@@ -0,0 +1,13 @@
+Index: mozilla/js/src/jsdtoa.c
+===================================================================
+--- mozilla.orig/js/src/jsdtoa.c
++++ mozilla/js/src/jsdtoa.c
+@@ -175,7 +175,7 @@
+ * #define NO_IEEE_Scale to disable new (Feb. 1997) logic in strtod that
+ * avoids underflows on inputs whose result does not underflow.
+ */
+-#ifdef IS_LITTLE_ENDIAN
++#if defined(IS_LITTLE_ENDIAN) && (!defined(__arm__) || defined(__VFP_FP__))
+ #define IEEE_8087
+ #else
+ #define IEEE_MC68k