From e7cd2680e089327e7fefaf1cf5a58ec09e379f0d Mon Sep 17 00:00:00 2001 From: Michael Eager Date: Fri, 2 Jun 2017 08:04:59 -0700 Subject: Correct check for endianness * interp.c: (target_big_endian): target endianess recognition fix. --- sim/microblaze/interp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sim/microblaze/interp.c') 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) -- cgit v1.1