From: Michael Eager Date: Fri, 2 Jun 2017 15:04:59 +0000 (-0700) Subject: Correct check for endianness X-Git-Tag: binutils-2_29~398 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e7cd2680e089327e7fefaf1cf5a58ec09e379f0d;p=external%2Fbinutils.git Correct check for endianness * interp.c: (target_big_endian): target endianess recognition fix. --- diff --git a/sim/microblaze/ChangeLog b/sim/microblaze/ChangeLog index 67de9f4..a1d742d 100644 --- a/sim/microblaze/ChangeLog +++ b/sim/microblaze/ChangeLog @@ -1,3 +1,7 @@ +2017-05-30 Andrea Corallo + + * interp.c: (target_big_endian): target endianess recognition fix. + 2016-01-10 Mike Frysinger * config.in, configure: Regenerate. 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)