Correct check for endianness

* interp.c: (target_big_endian): target endianess recognition fix.
This commit is contained in:
Michael Eager 2017-06-02 08:04:59 -07:00
parent 0efdc7237e
commit e7cd2680e0
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2017-05-30 Andrea Corallo <andrea_corallo@yahoo.it>
* interp.c: (target_big_endian): target endianess recognition fix.
2016-01-10 Mike Frysinger <vapier@gentoo.org>
* config.in, configure: Regenerate.

View File

@ -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)