aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2006-12-09 16:43:41 +0000
committerH.J. Lu <hjl.tools@gmail.com>2006-12-09 16:43:41 +0000
commitffb08c80243172566a71571d771ca226dc6b08c8 (patch)
tree74d23399b825d181d312ffb597627af02fcee3b8 /gas/config
parent002c07a9ffb143cbc1323fca237b6f8995b576b8 (diff)
downloadgdb-ffb08c80243172566a71571d771ca226dc6b08c8.zip
gdb-ffb08c80243172566a71571d771ca226dc6b08c8.tar.gz
gdb-ffb08c80243172566a71571d771ca226dc6b08c8.tar.bz2
2006-12-09 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.h (template): Use MAX_OPERANDS instead of 4 operand_types array.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-i386.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-i386.h b/gas/config/tc-i386.h
index 7cfe29b..14cbbe0 100644
--- a/gas/config/tc-i386.h
+++ b/gas/config/tc-i386.h
@@ -246,7 +246,7 @@ typedef struct
by OR'ing together all of the possible type masks. (e.g.
'operand_types[i] = Reg|Imm' specifies that operand i can be
either a register or an immediate operand. */
- unsigned int operand_types[4];
+ unsigned int operand_types[MAX_OPERANDS];
/* operand_types[i] bits */
/* register */