From: Sean Keys Date: Thu, 10 Jan 2013 22:15:05 +0000 (+0000) Subject: * config/tc-xgate.c (md_begin): Fix the printing of opcodes so X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f4b1f6a92bfc256adc5c92654d4f82b319dfb7f7;p=binutils-gdb.git * config/tc-xgate.c (md_begin): Fix the printing of opcodes so that the assember exits after the opcodes have been printed. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 6bf8eb17971..224321f718e 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2013-01-10 Sean Keys + + * 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 * app.c: Remove trailing white spaces. diff --git a/gas/config/tc-xgate.c b/gas/config/tc-xgate.c index 0c43295b5a7..752eaee8273 100644 --- a/gas/config/tc-xgate.c +++ b/gas/config/tc-xgate.c @@ -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