Browse Source

2006-12-09 H.J. Lu <hongjiu.lu@intel.com>

* config/tc-i386.h (template): Use MAX_OPERANDS instead of 4
	operand_types array.
drow-reverse-20070409-branch
H.J. Lu 20 years ago
parent
commit
ffb08c8024
  1. 5
      gas/ChangeLog
  2. 2
      gas/config/tc-i386.h

5
gas/ChangeLog

@ -1,3 +1,8 @@
2006-12-09 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.h (template): Use MAX_OPERANDS instead of 4
operand_types array.
2006-12-08 Christian Groessler <chris@groessler.org> 2006-12-08 Christian Groessler <chris@groessler.org>
* config/tc-z8k.c (whatreg): Add comment describing function. * config/tc-z8k.c (whatreg): Add comment describing function.

2
gas/config/tc-i386.h

@ -246,7 +246,7 @@ typedef struct
by OR'ing together all of the possible type masks. (e.g. by OR'ing together all of the possible type masks. (e.g.
'operand_types[i] = Reg|Imm' specifies that operand i can be 'operand_types[i] = Reg|Imm' specifies that operand i can be
either a register or an immediate operand. */ either a register or an immediate operand. */
unsigned int operand_types[4]; unsigned int operand_types[MAX_OPERANDS];
/* operand_types[i] bits */ /* operand_types[i] bits */
/* register */ /* register */

Loading…
Cancel
Save