Add support for Cirrus Maverick ARM co-processor
This commit is contained in:
@ -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!!
|
||||
|
Reference in New Issue
Block a user