sim: convert to bfd_endian
[deliverable/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?  */
This page took 0.02309 seconds and 4 git commands to generate.