summaryrefslogtreecommitdiff
path: root/packages/classpath/files/fix-endian-arm-floats.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/classpath/files/fix-endian-arm-floats.patch')
-rw-r--r--packages/classpath/files/fix-endian-arm-floats.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/classpath/files/fix-endian-arm-floats.patch b/packages/classpath/files/fix-endian-arm-floats.patch
new file mode 100644
index 0000000000..a9af0611b2
--- /dev/null
+++ b/packages/classpath/files/fix-endian-arm-floats.patch
@@ -0,0 +1,11 @@
+--- classpath/native/fdlibm/ieeefp.h.orig 2006-04-14 22:33:09.000000000 -0400
++++ classpath/native/fdlibm/ieeefp.h 2006-04-14 22:41:46.000000000 -0400
+@@ -13,7 +13,7 @@
+ byte ordering was big or little endian depending upon the target.
+ Modern floating-point formats are naturally ordered; in this case
+ __VFP_FP__ will be defined, even if soft-float. */
+-#ifdef __VFP_FP__
++#ifdef __SOFTFP__
+ #ifdef __ARMEL__
+ #define __IEEE_LITTLE_ENDIAN
+ #else