This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Committed] S/390: Increase string sizes used for mnemonic expansion


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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]