]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - sim/common/nrun.c
sim: convert to bfd_endian
[thirdparty/binutils-gdb.git] / sim / common / nrun.c
index 61c3c04a8f0fe4d960ad981eaf8da8ea5513181e..2e477153022a873c8e4ade1da8f1d5796983f6b2 100644 (file)
@@ -99,7 +99,7 @@ main (int argc, char **argv)
   /* We can't set the endianness in the callback structure until
      sim_config is called, which happens in sim_open.  */
   default_callback.target_endian
-    = (CURRENT_TARGET_BYTE_ORDER == BIG_ENDIAN
+    = (CURRENT_TARGET_BYTE_ORDER == BFD_ENDIAN_BIG
        ? BFD_ENDIAN_BIG : BFD_ENDIAN_LITTLE);
 
   /* Was there a program to run?  */