arm.h: (CPP_SPEC): Define __ARMEB__...
authorRichard Earnshaw <erich@gnu.org>
Mon, 12 Feb 1996 16:51:37 +0000 (16:51 +0000)
committerRichard Earnshaw <erich@gnu.org>
Mon, 12 Feb 1996 16:51:37 +0000 (16:51 +0000)
commitddee6abad9055f8747b9d228330e9921d8cdec4b
tree0c6acb1765b9146945bb5f25b82ba1eee5d45fdd
parentc1c2bc04042f67a0e240865b919220be91c58898
arm.h: (CPP_SPEC): Define __ARMEB__...

* arm/arm.h: (CPP_SPEC): Define __ARMEB__, __ARMEL__, and
__ARMWEL__ depending on the endian flags passed to the compiler.
(ARM_FLAG_LITTLE_WORDS): Define.
(TARGET_SWITCHES): Add option -mwords-little-endian.
(TARGET_LITTLE_WORDS): Define.
(WORDS_BIG_ENDIAN): Select based on the endian switches.
(LIBGCC2_WORDS_BIG_ENDIAN): Define based on run-time endian
defines.

From-SVN: r11211
gcc/config/arm/arm.h