aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-xgate.c
diff options
context:
space:
mode:
Diffstat (limited to 'gas/config/tc-xgate.c')
-rw-r--r--gas/config/tc-xgate.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/gas/config/tc-xgate.c b/gas/config/tc-xgate.c
index 0c43295..752eaee 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