summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
{