* run.c (main): Use new bfd_big_endian macro.
This commit is contained in:
parent
dc092b6b2a
commit
e924127a4f
|
@ -101,7 +101,7 @@ main (ac, av)
|
||||||
start_address = bfd_get_start_address (abfd);
|
start_address = bfd_get_start_address (abfd);
|
||||||
sim_create_inferior (start_address, NULL, NULL);
|
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)
|
if (trace)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue