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/sh/interp.c | |
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/sh/interp.c')
-rw-r--r-- | sim/sh/interp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/sh/interp.c b/sim/sh/interp.c index f7c4948..ee34e0d 100644 --- a/sim/sh/interp.c +++ b/sim/sh/interp.c @@ -119,7 +119,7 @@ struct loop_bounds { unsigned char *start, *end; }; #define target_little_endian (CURRENT_TARGET_BYTE_ORDER == BFD_ENDIAN_LITTLE) static int global_endianw, endianb; static int target_dsp; -#define host_little_endian (CURRENT_HOST_BYTE_ORDER == BFD_ENDIAN_LITTLE) +#define host_little_endian (HOST_BYTE_ORDER == BFD_ENDIAN_LITTLE) static int maskw = 0; static int maskl = 0; |