sim: convert to bfd_endian
[deliverable/binutils-gdb.git] / sim / mips / sim-main.h
index b7e30726914e2f6d975e16595793102f98b0c136..0ea1234fe6b019927e29298f3a745e6e064eb963 100644 (file)
@@ -592,7 +592,7 @@ struct sim_state {
 /* Hardware configuration. Affects endianness of LoadMemory and
    StoreMemory and the endianness of Kernel and Supervisor mode
    execution. The value is 0 for little-endian; 1 for big-endian. */
-#define BigEndianMem    (CURRENT_TARGET_BYTE_ORDER == BIG_ENDIAN)
+#define BigEndianMem    (CURRENT_TARGET_BYTE_ORDER == BFD_ENDIAN_BIG)
 /*(state & simBE) ? 1 : 0)*/
 
 /* ReverseEndian */
This page took 0.026098 seconds and 4 git commands to generate.