* arm-dis.c (print_insn): Warning fix.
This commit is contained in:
parent
6f72d99d8b
commit
9a2ff3f50c
@ -1,3 +1,7 @@
|
||||
2005-10-31 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* arm-dis.c (print_insn): Warning fix.
|
||||
|
||||
2005-10-30 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* Makefile.am: Run "make dep-am".
|
||||
|
@ -2854,13 +2854,13 @@ print_insn (bfd_vma pc, struct disassemble_info *info, bfd_boolean little)
|
||||
size = 2;
|
||||
|
||||
status = info->read_memory_func (pc, (bfd_byte *)b, 2, info);
|
||||
if (little)
|
||||
given = (b[0]) | (b[1] << 8);
|
||||
else
|
||||
given = (b[1]) | (b[0] << 8);
|
||||
|
||||
if (!status)
|
||||
{
|
||||
if (little)
|
||||
given = (b[0]) | (b[1] << 8);
|
||||
else
|
||||
given = (b[1]) | (b[0] << 8);
|
||||
|
||||
/* These bit patterns signal a four-byte Thumb
|
||||
instruction. */
|
||||
if ((given & 0xF800) == 0xF800
|
||||
|
Loading…
Reference in New Issue
Block a user