diff options
author | Mike Frysinger <vapier@gentoo.org> | 2016-01-03 00:36:13 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2016-01-03 00:52:51 -0500 |
commit | 0cb8d8513cf44a102953ff5cf93e9dd399f42e9a (patch) | |
tree | 670e19c289dea5ba0a821d97709073078fc24e6d /sim/msp430/config.in | |
parent | 1ac72f0659d64d6a14da862242db0d841d2878d0 (diff) | |
download | gdb-0cb8d8513cf44a102953ff5cf93e9dd399f42e9a.zip gdb-0cb8d8513cf44a102953ff5cf93e9dd399f42e9a.tar.gz gdb-0cb8d8513cf44a102953ff5cf93e9dd399f42e9a.tar.bz2 |
sim: drop host endian configure option
The --enable-sim-hostendian flag was purely so people had an escape route
for when cross-compiling. This is because historically, AC_C_BIGENDIAN
did not work in those cases. That was fixed a while ago though, so we can
require that macro everywhere now and simplify a good bit of code.
Diffstat (limited to 'sim/msp430/config.in')
-rw-r--r-- | sim/msp430/config.in | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sim/msp430/config.in b/sim/msp430/config.in index a52fc2b..bbccc94 100644 --- a/sim/msp430/config.in +++ b/sim/msp430/config.in @@ -1,5 +1,8 @@ /* config.in. Generated from configure.ac by autoheader. */ +/* Define if building universal (internal helper macro) */ +#undef AC_APPLE_UNIVERSAL_BUILD + /* Define to 1 if translation of program messages to the user's native language is requested. */ #undef ENABLE_NLS @@ -135,6 +138,18 @@ #endif +/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most + significant byte first (like Motorola and SPARC, unlike Intel). */ +#if defined AC_APPLE_UNIVERSAL_BUILD +# if defined __BIG_ENDIAN__ +# define WORDS_BIGENDIAN 1 +# endif +#else +# ifndef WORDS_BIGENDIAN +# undef WORDS_BIGENDIAN +# endif +#endif + /* Define to 1 if on MINIX. */ #undef _MINIX |