This patch adds MAVERICK CRUNCH FPU support for the Cirrus Logic EP93XX ARM9 Procs.
diff -burN uClibc-0.9.29.org/libm/math_private.h uClibc-0.9.29/libm/math_private.h --- uClibc-0.9.29.org/libm/math_private.h 2006-03-22 22:00:25.000000000 +0200 +++ uClibc-0.9.29/libm/math_private.h 2007-08-17 15:34:26.000000000 +0300 @@ -39,7 +39,18 @@ * For FPA, float words are always big-endian. * For VFP, floats words follow the memory system mode. */ +#if defined(__MAVERICK__) +typedef union +{ + double value; + struct + { + u_int32_t lsw; + u_int32_t msw; + } parts; +} ieee_double_shape_type; +#else #if (__BYTE_ORDER == __BIG_ENDIAN) || \ (!defined(__VFP_FP__) && (defined(__arm__) || defined(__thumb__))) @@ -66,7 +77,7 @@ } ieee_double_shape_type; #endif - +#endif /* Get two 32 bit ints from a double. */ #define EXTRACT_WORDS(ix0,ix1,d) \ _______________________________________________ uClibc mailing list uClibc@uclibc.org http://busybox.net/cgi-bin/mailman/listinfo/uclibc