From: Svein Seldal Date: Mon, 25 Nov 2002 09:01:30 +0000 (+0000) Subject: * gas/config/tc-tic4x.c (c4x_operands_match): Bugfix in direct X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=da91385db36b15b4a525dd38c7540db2a7ee14f4;p=binutils-gdb.git * gas/config/tc-tic4x.c (c4x_operands_match): Bugfix in direct mode --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 4e75d4ae8cb..e877a412534 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2002-11-25 Svein E. Seldal + + * config/tc-tic4x.c (c4x_operands_match): Bugfix in direct mode + 2002-11-21 Randolph Chung * config/tc-hppa.h (tc_frob_symbol): Frob undefined unused symbols diff --git a/gas/config/tc-tic4x.c b/gas/config/tc-tic4x.c index 61361050b76..8e5f5795c0f 100644 --- a/gas/config/tc-tic4x.c +++ b/gas/config/tc-tic4x.c @@ -1877,21 +1877,10 @@ c4x_operands_match (inst, insn, check) if (operand->mode != M_DIRECT) break; if (exp->X_op == O_constant) - { - if(exp->X_add_number <= 65535) - { - /* Store only the 16 LSBs of the number. */ - INSERTS (opcode, exp->X_add_number, 15, 0); - continue; - } - else - { - if (!check) - as_bad ("Direct value of %ld is too large", - (long) exp->X_add_number); - ret = -1; - continue; - } + { + /* Store only the 16 LSBs of the number. */ + INSERTS (opcode, exp->X_add_number, 15, 0); + continue; } else if (exp->X_op == O_symbol) {