x86: fix expansion of %XV
PATCH 1/1 x86: fix expansion of %XV
Only %LV should continue on to S handling; avoid emitting a stray 'l' (typically) in suffix-always mode.
opcodes/i386-dis.c +8 -7
@@ -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 ) {
Quoted 2 lines · Jan Beulich
Only %LV should continue on to S handling; avoid emitting a stray 'l' (typically) in suffix-always mode.
Oops, I'm sorry, confusion of mailing lists.
Jan