diff options
author | Tsukasa OI <research_trasio@irq.a4lg.com> | 2022-09-26 11:13:51 +0000 |
---|---|---|
committer | Tsukasa OI <research_trasio@irq.a4lg.com> | 2022-10-06 02:23:31 +0000 |
commit | 15543290129fde8b89b71f6e6494b88ca833c59c (patch) | |
tree | 6c3cbe057ba6428d5a30a40703c7725c5d9c3646 /opcodes/or1k-opinst.c | |
parent | f3a8023579897b27442654d7819bcc00726c352f (diff) | |
download | gdb-15543290129fde8b89b71f6e6494b88ca833c59c.zip gdb-15543290129fde8b89b71f6e6494b88ca833c59c.tar.gz gdb-15543290129fde8b89b71f6e6494b88ca833c59c.tar.bz2 |
RISC-V: Fix T-Head immediate types on printing
This commit fixes two minor typing-related issues for
T-Head immediate operands.
1. A signed type must be specified when printing with %i.
2. unsigned/signed int is not portable enough for max 32-bit immediates.
Instead, we should use unsigned/signed long.
The format string is changed accordingly.
opcodes/ChangeLog:
* riscv-dis.c (print_insn_args): Fix T-Head immediate types on
printing.
Diffstat (limited to 'opcodes/or1k-opinst.c')
0 files changed, 0 insertions, 0 deletions