[Committed] S/390: Increase string sizes used for mnemonic expansion
Andreas Krebbel
Andreas.Krebbel@de.ibm.com
Thu Apr 10 13:07:00 GMT 2008
Committed as obvious.
Bye,
-Andreas-
2008-04-10 Andreas Krebbel <krebbel1@de.ibm.com>
* s390-mkopc.c (insertExpandedMnemonic): Expand string sizes
of local variables used for mnemonic parsing: prefix, suffix and
number.
Index: opcodes/s390-mkopc.c
===================================================================
*** opcodes/s390-mkopc.c.orig 2008-04-10 14:24:22.000000000 +0200
--- opcodes/s390-mkopc.c 2008-04-10 14:44:30.000000000 +0200
*************** insertExpandedMnemonic (char *opcode, ch
*** 177,185 ****
int min_cpu, int mode_bits)
{
char *tag;
! char prefix[5];
! char suffix[5];
! char number[5];
int mask_start, i = 0, tag_found = 0, reading_number = 0;
int number_p = 0, suffix_p = 0, prefix_p = 0;
const struct s390_cond_ext_format *ext_table;
--- 177,185 ----
int min_cpu, int mode_bits)
{
char *tag;
! char prefix[15];
! char suffix[15];
! char number[15];
int mask_start, i = 0, tag_found = 0, reading_number = 0;
int number_p = 0, suffix_p = 0, prefix_p = 0;
const struct s390_cond_ext_format *ext_table;
More information about the Binutils
mailing list