From: Bob Wilson Date: Fri, 12 Sep 2008 18:53:55 +0000 (+0000) Subject: 2008-09-12 Sterling Augustine X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=51add5c3c0382996ea99e83ccbd9f5953b0baa96;p=binutils-gdb.git 2008-09-12 Sterling Augustine * config/tc-xtensa.c (init_op_placement_info_table): Allow number of operands equal to MAX_INSN_ARGS. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 3ccef17c907..284e4a8d131 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2008-09-12 Sterling Augustine + + * config/tc-xtensa.c (init_op_placement_info_table): Allow number of + operands equal to MAX_INSN_ARGS. + 2008-09-11 Jan Kratochvil * configure.in: Call AC_SYS_LARGEFILE. diff --git a/gas/config/tc-xtensa.c b/gas/config/tc-xtensa.c index b893cef4a11..b6c35ecd33c 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;