Fix typo in print_insn_rl78_common function.
authorNick Clifton <nickc@redhat.com>
Tue, 1 Mar 2016 10:52:24 +0000 (10:52 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 1 Mar 2016 10:52:24 +0000 (10:52 +0000)
PR target/19747
* rl78-dis.c (print_insn_rl78_common): Fix typo.

opcodes/ChangeLog
opcodes/rl78-dis.c

index f95fd6a7815a5884c6ed42e837068ac10b9a8c9d..0a78719cb2e3a885a36aef4a58289d5714c94878 100644 (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.
index 6784e53a30c3c9b43b5654ea3d56c32220c8f6f3..a23999dc3a1c0119fdb4afb337232aea437e5c89 100644 (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)