mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-05 15:15:42 +00:00
s390: Fix format specifier for VR in disassembler
Vector register (VR) numbers are unsigned. Use format specifier %u instead of %i. Reported-by: Florian Krohm <flo2030@eich-krohm.de> Signed-off-by: Jens Remus <jremus@linux.ibm.com>
This commit is contained in:
@@ -312,7 +312,7 @@ s390_print_insn_with_opcode (bfd_vma memaddr,
|
|||||||
info->fprintf_styled_func (info->stream, dis_style_text,
|
info->fprintf_styled_func (info->stream, dis_style_text,
|
||||||
"%c", separator);
|
"%c", separator);
|
||||||
info->fprintf_styled_func (info->stream, dis_style_register,
|
info->fprintf_styled_func (info->stream, dis_style_register,
|
||||||
"%%v%i", val.u);
|
"%%v%u", val.u);
|
||||||
}
|
}
|
||||||
else if (flags & S390_OPERAND_AR)
|
else if (flags & S390_OPERAND_AR)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user