Define the needed ISA types for ARM
Add the minimum required ISA types to support the ARM architecture. Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
This commit is contained in:
parent
05b8f50c33
commit
cb75844e85
|
@ -74,7 +74,24 @@
|
||||||
#define _LP64
|
#define _LP64
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#else /* Currently only x86_64, i386, and powerpc arches supported */
|
/* arm arch specific defines */
|
||||||
|
#elif defined(__arm) || defined(__arm__)
|
||||||
|
|
||||||
|
#if !defined(__arm)
|
||||||
|
#define __arm
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if !defined(__arm__)
|
||||||
|
#define __arm__
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if defined(__ARMEL__)
|
||||||
|
#define _LITTLE_ENDIAN
|
||||||
|
#else
|
||||||
|
#define _BIG_ENDIAN
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#else /* Currently only x86_64, i386, arm, and powerpc arches supported */
|
||||||
#error "Unsupported ISA type"
|
#error "Unsupported ISA type"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue