* config/tc-xgate.c (md_begin): Fix the printing of opcodes so

that the assember exits after the opcodes have been printed.
This commit is contained in:
Sean Keys 2013-01-10 22:15:05 +00:00
parent da5132d379
commit f4b1f6a92b
2 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2013-01-10 Sean Keys <skeys@ipdatasys.com>
* config/tc-xgate.c (md_begin): Fix the printing of opcodes so
that the assember exits after the opcodes have been printed.
2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
* app.c: Remove trailing white spaces.

View File

@ -349,8 +349,11 @@ md_begin (void)
prev_op_name = op_handles[j].name;
}
if (flag_print_opcodes == 1)
xgate_print_table ();
if (flag_print_opcodes)
{
print_opcode_list ();
exit (EXIT_SUCCESS);
}
}
void