diff options
author | Bob Wilson <bob.wilson@acm.org> | 2008-09-12 18:53:55 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@acm.org> | 2008-09-12 18:53:55 +0000 |
commit | 51add5c3c0382996ea99e83ccbd9f5953b0baa96 (patch) | |
tree | 69d7f0011e77774242178019d4389baf8f50e8c8 /gas/config | |
parent | 3d0bb823b09d0f6103cba00d833152b7f6a6e1d1 (diff) | |
download | gdb-51add5c3c0382996ea99e83ccbd9f5953b0baa96.zip gdb-51add5c3c0382996ea99e83ccbd9f5953b0baa96.tar.gz gdb-51add5c3c0382996ea99e83ccbd9f5953b0baa96.tar.bz2 |
2008-09-12 Sterling Augustine <sterling@tensilica.com>
* config/tc-xtensa.c (init_op_placement_info_table): Allow number of
operands equal to MAX_INSN_ARGS.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-xtensa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-xtensa.c b/gas/config/tc-xtensa.c index b893cef..b6c35ec 100644 --- a/gas/config/tc-xtensa.c +++ b/gas/config/tc-xtensa.c @@ -11058,7 +11058,7 @@ init_op_placement_info_table (void) { op_placement_info *opi = &op_placement_table[opcode]; /* FIXME: Make tinsn allocation dynamic. */ - if (xtensa_opcode_num_operands (isa, opcode) >= MAX_INSN_ARGS) + if (xtensa_opcode_num_operands (isa, opcode) > MAX_INSN_ARGS) as_fatal (_("too many operands in instruction")); opi->narrowest = XTENSA_UNDEFINED; opi->narrowest_size = 0x7F; |