1 #ifndef _ENDIAN_H
2 # error "Never use <bits/endian.h> directly; include <endian.h> instead."
3 #endif
4 
5 /* ARM can be either big or little endian.  */
6 #ifdef __ARMEB__
7 # define __BYTE_ORDER __BIG_ENDIAN
8 #else
9 # define __BYTE_ORDER __LITTLE_ENDIAN
10 #endif
11 
12 /* FPA floating point units are always big-endian, irrespective of the
13    CPU endianness.  VFP floating point units use the same endianness
14    as the rest of the system.  */
15 #if defined __VFP_FP__ || defined __MAVERICK__
16 # define __FLOAT_WORD_ORDER __BYTE_ORDER
17 #else
18 # define __FLOAT_WORD_ORDER __BIG_ENDIAN
19 #endif
20