forked from Imagelibrary/binutils-gdb
Don't output trailing space
* i386-gen.c (output_cpu_flags): Don't output trailing space. (output_opcode_modifier): Likewise. (output_operand_type): Likewise. * i386-init.h: Regenerated. * i386-tbl.h: Likewise.
This commit is contained in:
@@ -1,3 +1,11 @@
|
||||
2014-02-19 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* i386-gen.c (output_cpu_flags): Don't output trailing space.
|
||||
(output_opcode_modifier): Likewise.
|
||||
(output_operand_type): Likewise.
|
||||
* i386-init.h: Regenerated.
|
||||
* i386-tbl.h: Likewise.
|
||||
|
||||
2014-02-12 Ilya Tocar <ilya.tocar@intel.com>
|
||||
|
||||
* i386-dis.c (MOD enum): Add MOD_0FC7_REG_3, MOD_0FC7_REG_4,
|
||||
|
||||
@@ -713,7 +713,10 @@ output_cpu_flags (FILE *table, bitfield *flags, unsigned int size,
|
||||
|
||||
for (i = 0; i < size - 1; i++)
|
||||
{
|
||||
if (((i + 1) % 20) != 0)
|
||||
fprintf (table, "%d, ", flags[i].value);
|
||||
else
|
||||
fprintf (table, "%d,", flags[i].value);
|
||||
if (((i + 1) % 20) == 0)
|
||||
{
|
||||
/* We need \\ for macro. */
|
||||
@@ -801,7 +804,10 @@ output_opcode_modifier (FILE *table, bitfield *modifier, unsigned int size)
|
||||
|
||||
for (i = 0; i < size - 1; i++)
|
||||
{
|
||||
if (((i + 1) % 20) != 0)
|
||||
fprintf (table, "%d, ", modifier[i].value);
|
||||
else
|
||||
fprintf (table, "%d,", modifier[i].value);
|
||||
if (((i + 1) % 20) == 0)
|
||||
fprintf (table, "\n ");
|
||||
}
|
||||
@@ -842,12 +848,15 @@ output_operand_type (FILE *table, bitfield *types, unsigned int size,
|
||||
|
||||
for (i = 0; i < size - 1; i++)
|
||||
{
|
||||
if (((i + 1) % 20) != 0)
|
||||
fprintf (table, "%d, ", types[i].value);
|
||||
else
|
||||
fprintf (table, "%d,", types[i].value);
|
||||
if (((i + 1) % 20) == 0)
|
||||
{
|
||||
/* We need \\ for macro. */
|
||||
if (macro)
|
||||
fprintf (table, "\\\n%s", indent);
|
||||
fprintf (table, " \\\n%s", indent);
|
||||
else
|
||||
fprintf (table, "\n%s", indent);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user