mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-17 04:43:17 +08:00
* arm-dis.c (print_insn): Warning fix.
This commit is contained in:
@ -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>
|
2005-10-30 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
* Makefile.am: Run "make dep-am".
|
* Makefile.am: Run "make dep-am".
|
||||||
|
@ -2854,13 +2854,13 @@ print_insn (bfd_vma pc, struct disassemble_info *info, bfd_boolean little)
|
|||||||
size = 2;
|
size = 2;
|
||||||
|
|
||||||
status = info->read_memory_func (pc, (bfd_byte *)b, 2, info);
|
status = info->read_memory_func (pc, (bfd_byte *)b, 2, info);
|
||||||
if (!status)
|
|
||||||
{
|
|
||||||
if (little)
|
if (little)
|
||||||
given = (b[0]) | (b[1] << 8);
|
given = (b[0]) | (b[1] << 8);
|
||||||
else
|
else
|
||||||
given = (b[1]) | (b[0] << 8);
|
given = (b[1]) | (b[0] << 8);
|
||||||
|
|
||||||
|
if (!status)
|
||||||
|
{
|
||||||
/* These bit patterns signal a four-byte Thumb
|
/* These bit patterns signal a four-byte Thumb
|
||||||
instruction. */
|
instruction. */
|
||||||
if ((given & 0xF800) == 0xF800
|
if ((given & 0xF800) == 0xF800
|
||||||
|
Reference in New Issue
Block a user