mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-04-24 14:53:34 +08:00
RISC-V: Print XTheadMemPair literal as "immediate"
The operand type "Xl(...)" denotes that (...) is a literal. Specifically, they are intended to be a constant immediate value. This commit prints "Xl(...)" operand with dis_style_immediate style, not dis_style_text. opcodes/ChangeLog: * riscv-dis.c (print_insn_args): Use dis_style_immediate on the constant literal of the "Xl..." operand.
This commit is contained in:
parent
1554329012
commit
a13886e219
@ -578,7 +578,7 @@ print_insn_args (const char *oparg, insn_t l, bfd_vma pc, disassemble_info *info
|
||||
oparg++;
|
||||
while (*oparg && *oparg != ',')
|
||||
{
|
||||
print (info->stream, dis_style_text, "%c", *oparg);
|
||||
print (info->stream, dis_style_immediate, "%c", *oparg);
|
||||
oparg++;
|
||||
}
|
||||
oparg--;
|
||||
|
Loading…
x
Reference in New Issue
Block a user