aboutsummaryrefslogtreecommitdiff
path: root/opcodes/cgen-dis.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2013-04-17 14:09:49 +0000
committerNick Clifton <nickc@redhat.com>2013-04-17 14:09:49 +0000
commit17310e568d81f53c2674062aefd38d29974ed7fd (patch)
treebc0c10aa3756750a8b7a1e1a82ba56d95c5fd60a /opcodes/cgen-dis.c
parent7d4e5717e05d588f4b9037310863d8bfc9505064 (diff)
downloadgdb-17310e568d81f53c2674062aefd38d29974ed7fd.zip
gdb-17310e568d81f53c2674062aefd38d29974ed7fd.tar.gz
gdb-17310e568d81f53c2674062aefd38d29974ed7fd.tar.bz2
PR binutils/15369
* cgen-dis.c (hash_insn_array): Use CGEN_CPU_INSN_ENDIAN instead of CGEN_CPU_ENDIAN. (hash_insns_list): Likewise.
Diffstat (limited to 'opcodes/cgen-dis.c')
-rw-r--r--opcodes/cgen-dis.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/opcodes/cgen-dis.c b/opcodes/cgen-dis.c
index 0efdc10..c1b4398 100644
--- a/opcodes/cgen-dis.c
+++ b/opcodes/cgen-dis.c
@@ -1,6 +1,5 @@
/* CGEN generic disassembler support code.
- Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2007
- Free Software Foundation, Inc.
+ Copyright 1996-2013 Free Software Foundation, Inc.
This file is part of libopcodes.
@@ -104,7 +103,7 @@ hash_insn_array (CGEN_CPU_DESC cd,
CGEN_INSN_LIST ** htable,
CGEN_INSN_LIST * hentbuf)
{
- int big_p = CGEN_CPU_ENDIAN (cd) == CGEN_ENDIAN_BIG;
+ int big_p = CGEN_CPU_INSN_ENDIAN (cd) == CGEN_ENDIAN_BIG;
int i;
for (i = count - 1; i >= 0; --i, ++hentbuf)
@@ -142,7 +141,7 @@ hash_insn_list (CGEN_CPU_DESC cd,
CGEN_INSN_LIST **htable,
CGEN_INSN_LIST *hentbuf)
{
- int big_p = CGEN_CPU_ENDIAN (cd) == CGEN_ENDIAN_BIG;
+ int big_p = CGEN_CPU_INSN_ENDIAN (cd) == CGEN_ENDIAN_BIG;
const CGEN_INSN_LIST *ilist;
for (ilist = insns; ilist != NULL; ilist = ilist->next, ++ hentbuf)