From 020efce52a569bde99f64b20cedbec2b2a5b5fe9 Mon Sep 17 00:00:00 2001
From: Nick Clifton <nickc@redhat.com>
Date: Tue, 1 Mar 2016 10:52:24 +0000
Subject: [PATCH] Fix typo in print_insn_rl78_common function.

	PR target/19747
	* rl78-dis.c (print_insn_rl78_common): Fix typo.
---
 opcodes/ChangeLog  | 5 +++++
 opcodes/rl78-dis.c | 3 ++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index f95fd6a7815..0a78719cb2e 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -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.
diff --git a/opcodes/rl78-dis.c b/opcodes/rl78-dis.c
index 6784e53a30c..a23999dc3a1 100644
--- a/opcodes/rl78-dis.c
+++ b/opcodes/rl78-dis.c
@@ -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)
-- 
GitLab