aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorSean Keys <skeys@ipdatasys.com>2013-01-10 22:15:05 +0000
committerSean Keys <skeys@ipdatasys.com>2013-01-10 22:15:05 +0000
commitf4b1f6a92bfc256adc5c92654d4f82b319dfb7f7 (patch)
treef395cdd4611024565497ac06b8ac7bd486e14f03 /gas
parentda5132d379d3e1bbda3411de63b1a40c16614809 (diff)
downloadgdb-f4b1f6a92bfc256adc5c92654d4f82b319dfb7f7.zip
gdb-f4b1f6a92bfc256adc5c92654d4f82b319dfb7f7.tar.gz
gdb-f4b1f6a92bfc256adc5c92654d4f82b319dfb7f7.tar.bz2
* config/tc-xgate.c (md_begin): Fix the printing of opcodes so
that the assember exits after the opcodes have been printed.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-xgate.c7
2 files changed, 10 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 6bf8eb1..224321f 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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.
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