|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH] x86: fix expansion of %XV
Only %LV should continue on to S handling; avoid emitting a stray 'l'
(typically) in suffix-always mode.
--- a/opcodes/i386-dis.c
+++ b/opcodes/i386-dis.c
@@ -11067,19 +11067,20 @@ putop (instr_info *ins, const char *in_t
*ins->obufp++ = ' ';
break;
case 'L':
- if (!(ins->rex & REX_W))
- break;
- *ins->obufp++ = 'a';
- *ins->obufp++ = 'b';
- *ins->obufp++ = 's';
- break;
+ if (ins->rex & REX_W)
+ {
+ *ins->obufp++ = 'a';
+ *ins->obufp++ = 'b';
+ *ins->obufp++ = 's';
+ }
+ goto case_S;
default:
abort ();
}
}
else
abort ();
- goto case_S;
+ break;
case 'W':
if (l == 0)
{
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |