diff options
author | Michael Eager <eager@eagercon.com> | 2017-06-02 08:04:59 -0700 |
---|---|---|
committer | Michael Eager <eager@eagercon.com> | 2017-06-02 08:04:59 -0700 |
commit | e7cd2680e089327e7fefaf1cf5a58ec09e379f0d (patch) | |
tree | 31151bf1345c9ee5a0f78edb4fbc1a6113731175 /sim/microblaze/interp.c | |
parent | 0efdc7237e8eb2c75b9c74bc60175ef50719b8b8 (diff) | |
download | gdb-e7cd2680e089327e7fefaf1cf5a58ec09e379f0d.zip gdb-e7cd2680e089327e7fefaf1cf5a58ec09e379f0d.tar.gz gdb-e7cd2680e089327e7fefaf1cf5a58ec09e379f0d.tar.bz2 |
Correct check for endianness
* interp.c: (target_big_endian): target endianess recognition fix.
Diffstat (limited to 'sim/microblaze/interp.c')
-rw-r--r-- | sim/microblaze/interp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/microblaze/interp.c b/sim/microblaze/interp.c index e619cf8..75fc98b 100644 --- a/sim/microblaze/interp.c +++ b/sim/microblaze/interp.c @@ -31,7 +31,7 @@ #include "microblaze-dis.h" -#define target_big_endian (CURRENT_TARGET_BYTE_ORDER == BIG_ENDIAN) +#define target_big_endian (CURRENT_TARGET_BYTE_ORDER == BFD_ENDIAN_BIG) static unsigned long microblaze_extract_unsigned_integer (unsigned char *addr, int len) |