aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-12-15 21:28:11 +0000
committerIan Lance Taylor <ian@airs.com>1995-12-15 21:28:11 +0000
commite924127a4f839151180a081e343c40228d9b6af7 (patch)
treea1f9b1a9748ee77717b791c61051ab563e209376 /sim
parentdc092b6b2af065de4a12e3293296cb01ded35042 (diff)
downloadgdb-e924127a4f839151180a081e343c40228d9b6af7.zip
gdb-e924127a4f839151180a081e343c40228d9b6af7.tar.gz
gdb-e924127a4f839151180a081e343c40228d9b6af7.tar.bz2
* run.c (main): Use new bfd_big_endian macro.
Diffstat (limited to 'sim')
-rw-r--r--sim/arm/run.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/arm/run.c b/sim/arm/run.c
index 556bafe..08bdd27 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)
{