X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=sim%2Fsh%2Finterp.c;h=f7c49486cd69f0327f07b1dda72c6b88675b2b9e;hb=1ac72f0659d64d6a14da862242db0d841d2878d0;hp=3abeda6b028f1f999f9d9866ef18d02fde9c531f;hpb=987f8739051ff368ecaf6ca1e0fc966c974381a1;p=deliverable%2Fbinutils-gdb.git diff --git a/sim/sh/interp.c b/sim/sh/interp.c index 3abeda6b02..f7c49486cd 100644 --- a/sim/sh/interp.c +++ b/sim/sh/interp.c @@ -116,10 +116,10 @@ struct loop_bounds { unsigned char *start, *end; }; /* These variables are at file scope so that functions other than sim_resume can use the fetch/store macros */ -#define target_little_endian (CURRENT_TARGET_BYTE_ORDER == LITTLE_ENDIAN) +#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 == LITTLE_ENDIAN) +#define host_little_endian (CURRENT_HOST_BYTE_ORDER == BFD_ENDIAN_LITTLE) static int maskw = 0; static int maskl = 0;