aboutsummaryrefslogtreecommitdiff
path: root/opcodes/riscv-dis.c
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes/riscv-dis.c')
-rw-r--r--opcodes/riscv-dis.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/opcodes/riscv-dis.c b/opcodes/riscv-dis.c
index 138eed8..827d9b6 100644
--- a/opcodes/riscv-dis.c
+++ b/opcodes/riscv-dis.c
@@ -614,20 +614,6 @@ print_insn_args (const char *oparg, insn_t l, bfd_vma pc, disassemble_info *info
goto undefined_modifier;
}
break;
- case 'c': /* Zcb extension 16 bits length instruction fields. */
- switch (*++oparg)
- {
- case 'b':
- print (info->stream, dis_style_immediate, "%d",
- (int)EXTRACT_ZCB_BYTE_UIMM (l));
- break;
- case 'h':
- print (info->stream, dis_style_immediate, "%d",
- (int)EXTRACT_ZCB_HALFWORD_UIMM (l));
- break;
- default: break;
- }
- break;
default:
goto undefined_modifier;
}
@@ -939,7 +925,7 @@ riscv_search_mapping_symbol (bfd_vma memaddr,
}
/* We can not find the suitable mapping symbol above. Therefore, we
- look forwards and try to find it again, but don't go past the start
+ look forwards and try to find it again, but don't go pass the start
of the section. Otherwise a data section without mapping symbols
can pick up a text mapping symbol of a preceeding section. */
if (!found)