This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[COMMITTED PATCH] fix a -Wformat warning in s390-mkopc.c
- From: Roland McGrath <mcgrathr at google dot com>
- To: binutils at sourceware dot org
- Date: Thu, 29 Nov 2012 15:42:05 -0800
- Subject: [COMMITTED PATCH] fix a -Wformat warning in s390-mkopc.c
Committed as obvious.
opcodes/
2012-11-29 Roland McGrath <mcgrathr@google.com>
* s390-mkopc.c (file_header): Add const.
--- a/opcodes/s390-mkopc.c
+++ b/opcodes/s390-mkopc.c
@@ -276,7 +276,7 @@ insertExpandedMnemonic (char *opcode, char
*mnemonic, char *format,
fprintf (stderr, "Malformed mnemonic: %s\n", mnemonic);
}
-static char file_header[] =
+static const char file_header[] =
"/* The opcode table. This file was generated by s390-mkopc.\n\n"
" The format of the opcode table is:\n\n"
" NAME OPCODE MASK OPERANDS\n\n"
Thanks,
Roland