summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-01-05 08:16:23 +0000
committerMike Frysinger <vapier@gentoo.org>2008-01-05 08:16:23 +0000
commit973844c62c10cde2f45995fcef54bb4a676287a5 (patch)
tree6960da3170f59202d50291d785596d19adab83c1
parent69904585ae4942e9cbe25b6d79331a880cec01ce (diff)
Brian Austin writes: This patch adds MAVERICK CRUNCH FPU support for the Cirrus Logic EP93XX ARM9 Procs.
-rw-r--r--libm/math_private.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/libm/math_private.h b/libm/math_private.h
index 75ca03ecb..b0d948c07 100644
--- a/libm/math_private.h
+++ b/libm/math_private.h
@@ -35,13 +35,14 @@
ints. */
/*
- * Math on arm is special:
+ * Math on arm is special (read: stupid):
* For FPA, float words are always big-endian.
- * For VFP, floats words follow the memory system mode.
+ * For VFP, float words follow the memory system mode.
+ * For Maverick, float words are always little-endian.
*/
-#if (__BYTE_ORDER == __BIG_ENDIAN) || \
- (!defined(__VFP_FP__) && (defined(__arm__) || defined(__thumb__)))
+#if !defined(__MAVERICK__) && ((__BYTE_ORDER == __BIG_ENDIAN) || \
+ (!defined(__VFP_FP__) && (defined(__arm__) || defined(__thumb__))))
typedef union
{