* gas/config/tc-tic4x.c (c4x_operands_match): Bugfix in direct
authorSvein Seldal <svein@dev.seldal.com>
Mon, 25 Nov 2002 09:01:30 +0000 (09:01 +0000)
committerSvein Seldal <svein@dev.seldal.com>
Mon, 25 Nov 2002 09:01:30 +0000 (09:01 +0000)
mode

gas/ChangeLog
gas/config/tc-tic4x.c

index 4e75d4ae8cb8348a6aedf62639bbab8be09b1df4..e877a41253449790be8ca9273516a6c1284b97cf 100644 (file)
@@ -1,3 +1,7 @@
+2002-11-25  Svein E. Seldal  <Svein.Seldal@solidas.com>
+
+       * config/tc-tic4x.c (c4x_operands_match): Bugfix in direct mode
+
 2002-11-21  Randolph Chung  <randolph@tausq.org>
 
        * config/tc-hppa.h (tc_frob_symbol):  Frob undefined unused symbols
index 61361050b76291ba87959037c4f899b9850326bf..8e5f5795c0fbb3c4b95432bf07f1632905062d1f 100644 (file)
@@ -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)
            {
This page took 0.031807 seconds and 4 git commands to generate.