diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-08-15 03:31:00 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-08-15 03:31:00 +0000 |
commit | a0ca45d4673a5e721225be62311250a4aa93a200 (patch) | |
tree | 164666e5a775084238ba06f783c249329007434d | |
parent | a71f2d1c558f9a75cde4f0cad46df3bcb1e987f5 (diff) |
import thumb support from jbowler in Bug 385
-rw-r--r-- | libm/math_private.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libm/math_private.h b/libm/math_private.h index 900e2a0db..2f6ebb0d9 100644 --- a/libm/math_private.h +++ b/libm/math_private.h @@ -40,7 +40,8 @@ * For VFP, floats words follow the memory system mode. */ -#if (__BYTE_ORDER == __BIG_ENDIAN) || defined(__arm__) && !defined(__VFP_FP__) +#if (__BYTE_ORDER == __BIG_ENDIAN) || \ + (!defined(__VFP_FP__) && (defined(__arm__) || defined(__thumb__))) typedef union { @@ -52,9 +53,7 @@ typedef union } parts; } ieee_double_shape_type; -#endif - -#if (__BYTE_ORDER == __LITTLE_ENDIAN) && (!defined(__arm__) || defined(__VFP_FP__)) +#else typedef union { |