diff options
author | Svein Seldal <svein@dev.seldal.com> | 2002-11-25 09:01:30 +0000 |
---|---|---|
committer | Svein Seldal <svein@dev.seldal.com> | 2002-11-25 09:01:30 +0000 |
commit | 260b9e5c2942860b38f0630a0544aab10f747a1e (patch) | |
tree | 7589c8ada50ef4e344a2add5c37d31ae71a0051b /gas/config/tc-tic4x.c | |
parent | 5626ef3f245f33ead9086d4459a3db6a11f1f433 (diff) | |
download | binutils-redhat-260b9e5c2942860b38f0630a0544aab10f747a1e.tar.gz |
* gas/config/tc-tic4x.c (c4x_operands_match): Bugfix in direct
mode
Diffstat (limited to 'gas/config/tc-tic4x.c')
-rw-r--r-- | gas/config/tc-tic4x.c | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/gas/config/tc-tic4x.c b/gas/config/tc-tic4x.c index 61361050b7..8e5f5795c0 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) { |