This is the mail archive of the binutils-cvs@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[binutils-gdb] Add fall through comment.


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b52d3cfcfb472263eca181da37dfc0377978acba

commit b52d3cfcfb472263eca181da37dfc0377978acba
Author: Dilyan Palauzov <dilyan.palauzov@aegee.org>
Date:   Tue Jan 3 16:02:36 2017 +0000

    Add fall through comment.
    
    	* riscv-dis.c (print_insn_args): Add fall through comment.

Diff:
---
 opcodes/ChangeLog   | 4 ++++
 opcodes/riscv-dis.c | 1 +
 2 files changed, 5 insertions(+)

diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index bb44bdf..7de68fd 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,7 @@
+2017-01-03  Dilyan Palauzov  <dilyan.palauzov@aegee.org>
+
+	* riscv-dis.c (print_insn_args): Add fall through comment.
+
 2017-01-03  Nick Clifton  <nickc@redhat.com>
 
 	* po/sr.po: New Serbian translation.
diff --git a/opcodes/riscv-dis.c b/opcodes/riscv-dis.c
index 070c96e..20b6854 100644
--- a/opcodes/riscv-dis.c
+++ b/opcodes/riscv-dis.c
@@ -255,6 +255,7 @@ print_insn_args (const char *d, insn_t l, bfd_vma pc, disassemble_info *info)
 
 	case 'o':
 	  maybe_print_address (pd, rs1, EXTRACT_ITYPE_IMM (l));
+	  /* Fall through.  */
 	case 'j':
 	  if (((l & MASK_ADDI) == MATCH_ADDI && rs1 != 0)
 	      || (l & MASK_JALR) == MATCH_JALR)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]