From 973844c62c10cde2f45995fcef54bb4a676287a5 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 5 Jan 2008 08:16:23 +0000 Subject: Brian Austin writes: This patch adds MAVERICK CRUNCH FPU support for the Cirrus Logic EP93XX ARM9 Procs. --- libm/math_private.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'libm') 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 { -- cgit v1.2.3