* arm-dis.c (print_insn): Warning fix.

This commit is contained in:
Alan Modra 2005-10-31 06:10:33 +00:00
parent 6f72d99d8b
commit 9a2ff3f50c
2 changed files with 9 additions and 5 deletions

View File

@ -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".

View File

@ -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