[PATCH 0/4] RISC-V: Fix disassembler types and styles

Tsukasa OI research_trasio@irq.a4lg.com
Wed Aug 3 04:27:47 GMT 2022


Hello,

This patchset fixes various typing and styling errors on the RISC-V
disassembler.  Patches 1 and 2 are considered releatively important
(compared to patches 3 and 4).

Previous Patchset:
<https://sourceware.org/pipermail/binutils/2022-July/121790.html> (2022-07-13)
Tracker on GitHub:
<https://github.com/a4lg/binutils-gdb/wiki/riscv_dis_printf_styles_and_types_1>

[Styling]
-   Print real immediates with the `immediate' style (PATCH 1/4)
-   Print comma and tabs with the `text' style       (PATCH 4/4)
[Typing on printf]
-   Fix wrong type for "%x" format specifier         (PATCH 2/4)
[Small Optimization]
-   Use smallest portable types possible to print    (PATCH 3/4)

Thanks,
Tsukasa




Tsukasa OI (4):
  RISC-V: Fix immediates to have `immediate' style
  RISC-V: Fix printf argument types corresponding %x
  RISC-V: Optimize riscv_disassemble_data printf
  RISC-V: Print comma and tabs as the `text' style

 opcodes/riscv-dis.c | 61 +++++++++++++++++++++++++--------------------
 1 file changed, 34 insertions(+), 27 deletions(-)


base-commit: 8aaafe957ceee581e691d2f7f984cb40c58f2b5e
-- 
2.34.1



More information about the Binutils mailing list