summaryrefslogtreecommitdiff
path: root/opcodes/s390-mkopc.c
diff options
context:
space:
mode:
authorAndreas Krebbel <Andreas.Krebbel@de.ibm.com>2012-10-26 09:41:55 +0000
committerAndreas Krebbel <Andreas.Krebbel@de.ibm.com>2012-10-26 09:41:55 +0000
commita7e4b9a330ce104e5fd38201751c7e12c79385f8 (patch)
tree981fab5a98d58c29a2db4c5d4b303d630d7dceaf /opcodes/s390-mkopc.c
parenta07412a0be6825dac1b6fec608ff72ee29f3ffa5 (diff)
downloadbinutils-redhat-a7e4b9a330ce104e5fd38201751c7e12c79385f8.tar.gz
2012-10-26 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* s390-mkopc.c: Accept empty lines in s390-opc.txt. * s390-opc.c: Add M_20OPT field. New instruction formats RRF_RURR2 and RRF_RMRR. * s390-opc.txt: Add new instructions. New instruction type for lptea. 2012-10-26 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> * gas/testsuite/gas/s390/zarch-z10.d: Refreshed. * gas/testsuite/gas/s390/zarch-z10.s: Refreshed. * gas/testsuite/gas/s390/zarch-z196.d: Refreshed. * gas/testsuite/gas/s390/zarch-z196.s: Refreshed. * gas/testsuite/gas/s390/zarch-z9-109.d: Refreshed. * gas/testsuite/gas/s390/zarch-z990.d: Refreshed. * gas/testsuite/gas/s390/zarch-z990.s: Refreshed. * gas/testsuite/gas/s390/zarch-zEC12.d: Refreshed. * gas/testsuite/gas/s390/zarch-zEC12.s: Refreshed.
Diffstat (limited to 'opcodes/s390-mkopc.c')
-rw-r--r--opcodes/s390-mkopc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/s390-mkopc.c b/opcodes/s390-mkopc.c
index a1f0a1295c..c2c98de4d5 100644
--- a/opcodes/s390-mkopc.c
+++ b/opcodes/s390-mkopc.c
@@ -343,7 +343,7 @@ main (void)
int mode_bits;
char *str;
- if (currentLine[0] == '#')
+ if (currentLine[0] == '#' || currentLine[0] == '\n')
continue;
memset (opcode, 0, 8);
if (sscanf (currentLine, "%15s %15s %15s \"%79[^\"]\" %15s %15s",