2006-02-02 Paul Brook <paul@codesourcery.com>
authorPaul Brook <paul@codesourcery.com>
Thu, 2 Feb 2006 20:19:56 +0000 (20:19 +0000)
committerPaul Brook <paul@codesourcery.com>
Thu, 2 Feb 2006 20:19:56 +0000 (20:19 +0000)
* config/tc-arm.c (do_shift): Remove Thumb-1 constraint.

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

index e35956e..ca85d59 100644 (file)
@@ -1,3 +1,7 @@
+2006-02-02  Paul Brook  <paul@codesourcery.com>
+
+       * config/tc-arm.c (do_shift): Remove Thumb-1 constraint.
+
 2005-02-02  Paul Brook  <paul@codesourcery.com>
 
        * config/tc-arm.c (T2_OPCODE_MASK, T2_DATA_OP_SHIFT, T2_OPCODE_AND,
index 8cf49ea..4ff2a7d 100644 (file)
@@ -5278,8 +5278,6 @@ do_shift (void)
   inst.instruction |= Rm;
   if (inst.operands[2].isreg)  /* Rd, {Rm,} Rs */
     {
-      constraint (inst.operands[0].reg != Rm,
-                 _("source1 and dest must be same register"));
       inst.instruction |= inst.operands[2].reg << 8;
       inst.instruction |= SHIFT_BY_REG;
     }