From: Ian Lance Taylor Date: Fri, 15 Dec 1995 21:28:11 +0000 (+0000) Subject: * run.c (main): Use new bfd_big_endian macro. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e924127a4f839151180a081e343c40228d9b6af7;p=binutils-gdb.git * run.c (main): Use new bfd_big_endian macro. --- diff --git a/sim/arm/run.c b/sim/arm/run.c index 556bafedddf..08bdd27fa55 100644 --- a/sim/arm/run.c +++ b/sim/arm/run.c @@ -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) {