Fix typo in print_insn_rl78_common function.

PR target/19747
	* rl78-dis.c (print_insn_rl78_common): Fix typo.
This commit is contained in:
Nick Clifton 2016-03-01 10:52:24 +00:00
parent efd5b507cc
commit 020efce52a
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2016-03-01 Nick Clifton <nickc@redhat.com>
PR target/19747
* rl78-dis.c (print_insn_rl78_common): Fix typo.
2016-02-24 Renlin Li <renlin.li@arm.com>
* arm-dis.c (coprocessor_opcodes): Add fp16 instruction entries.

View file

@ -229,7 +229,8 @@ print_insn_rl78_common (bfd_vma addr, disassemble_info * dis, RL78_Dis_Isa isa)
if (do_bang)
{
/* If we are going to display SP by name, we must omit the bang. */
if ((oper->type == RL78_Operand_Indirect || RL78_Operand_BitIndirect)
if ((oper->type == RL78_Operand_Indirect
|| oper->type == RL78_Operand_BitIndirect)
&& oper->reg == RL78_Reg_None
&& do_sfr
&& ((oper->addend == 0xffff8 && opcode.size == RL78_Word)