mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 12:03:41 +08:00
PR binutils/15369
* cgen-dis.c (hash_insn_array): Use CGEN_CPU_INSN_ENDIAN instead of CGEN_CPU_ENDIAN. (hash_insns_list): Likewise.
This commit is contained in:
parent
7d4e5717e0
commit
17310e568d
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user