aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-01-03 00:36:13 -0500
committerMike Frysinger <vapier@gentoo.org>2016-01-03 00:52:51 -0500
commit0cb8d8513cf44a102953ff5cf93e9dd399f42e9a (patch)
tree670e19c289dea5ba0a821d97709073078fc24e6d /sim/rx/config.in
parentsim: convert to bfd_endian (diff)
downloadbinutils-gdb-0cb8d8513cf44a102953ff5cf93e9dd399f42e9a.tar.gz
binutils-gdb-0cb8d8513cf44a102953ff5cf93e9dd399f42e9a.tar.bz2
binutils-gdb-0cb8d8513cf44a102953ff5cf93e9dd399f42e9a.zip
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/rx/config.in')
-rw-r--r--sim/rx/config.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/sim/rx/config.in b/sim/rx/config.in
index 236f6a4560a..66138746582 100644
--- a/sim/rx/config.in
+++ b/sim/rx/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
+
/* --enable-cycle-accurate */
#undef CYCLE_ACCURATE
@@ -141,6 +144,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