Add support for Cirrus Maverick ARM co-processor

This commit is contained in:
Nick Clifton
2003-02-20 19:14:12 +00:00
parent 892d896274
commit bac50d6b6e
3 changed files with 44 additions and 9 deletions

View File

@ -50,7 +50,7 @@
*/
#if (defined(__arm__) || defined(__thumb__))
#if (defined(__arm__) || defined(__thumb__)) && !defined(__MAVERICK__)
/* ARM always has big-endian words. Within those words the byte ordering
will be big or little endian depending upon the target. */
#define __IEEE_BIG_ENDIAN
@ -234,6 +234,14 @@
#define _DOUBLE_IS_32BITS
#endif
#ifdef __MAVERICK__
#ifdef __ARMEL__
# define __IEEE_LITTLE_ENDIAN
#else /* must be __ARMEB__ */
# define __IEEE_BIG_ENDIAN
#endif /* __ARMEL__ */
#endif /* __MAVERICK__ */
#ifndef __IEEE_BIG_ENDIAN
#ifndef __IEEE_LITTLE_ENDIAN
#error Endianess not declared!!