* run.c (main): Use new bfd_big_endian macro.
authorIan Lance Taylor <ian@airs.com>
Fri, 15 Dec 1995 21:28:11 +0000 (21:28 +0000)
committerIan Lance Taylor <ian@airs.com>
Fri, 15 Dec 1995 21:28:11 +0000 (21:28 +0000)
sim/arm/run.c

index 556bafedddfbb591fb0dcd085d854c19598df92b..08bdd27fa55cf21bcfc58e9af9e3145d95156162 100644 (file)
@@ -101,7 +101,7 @@ main (ac, av)
          start_address = bfd_get_start_address (abfd);
          sim_create_inferior (start_address, NULL, NULL);
 
-         target_byte_order = abfd->xvec->byteorder_big_p ? 4321 : 1234;
+         target_byte_order = bfd_big_endian (abfd) ? 4321 : 1234;
 
          if (trace)
            {