diff options
author | Nick Clifton <nickc@redhat.com> | 2013-04-17 14:09:49 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2013-04-17 14:09:49 +0000 |
commit | 7e2fcf5bb7283956d5b15b4c13a1051327f3b4b1 (patch) | |
tree | 3da331ad96b1c36170c9c22c5d0c37bd03813ba2 /opcodes | |
parent | 3c0732377364a48042cff54c10a4c23ba320da9e (diff) | |
download | gdb-7e2fcf5bb7283956d5b15b4c13a1051327f3b4b1.tar.gz |
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')
-rw-r--r-- | opcodes/ChangeLog | 7 | ||||
-rw-r--r-- | opcodes/cgen-dis.c | 7 |
2 files changed, 10 insertions, 4 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index b463d6f83cf..b101eb6d460 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,10 @@ +2013-04-17 Wei-chen Wang <cole945@gmail.com> + + PR binutils/15369 + * cgen-dis.c (hash_insn_array): Use CGEN_CPU_INSN_ENDIAN instead + of CGEN_CPU_ENDIAN. + (hash_insns_list): Likewise. + 2013-04-10 Jan Kratochvil <jan.kratochvil@redhat.com> * rl78-dis.c (print_insn_rl78): Use alternative form as a GCC false diff --git a/opcodes/cgen-dis.c b/opcodes/cgen-dis.c index 0efdc105fe7..c1b439856f6 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) |