From aac129d77611fab3db3f354c67c0f2c9406fa828 Mon Sep 17 00:00:00 2001 From: Andreas Krebbel Date: Fri, 26 Oct 2012 09:41:55 +0000 Subject: 2012-10-26 Andreas Krebbel * 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 * 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. --- opcodes/s390-mkopc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'opcodes/s390-mkopc.c') diff --git a/opcodes/s390-mkopc.c b/opcodes/s390-mkopc.c index a1f0a12..c2c98de 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", -- cgit v1.1