2005-03-03 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
authorRamana Radhakrishnan <ramana.r@gmail.com>
Thu, 3 Mar 2005 05:30:10 +0000 (05:30 +0000)
committerRamana Radhakrishnan <ramana.r@gmail.com>
Thu, 3 Mar 2005 05:30:10 +0000 (05:30 +0000)
        * config/tc-arc.c(md_assemble): Remove dead code for handling
        immediate indexing with ld and st.

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

index c111a5c1740117db17e5bb7a9fac3095f03f804d..8de9f44caf5f457547d526b86d12aa2284618739 100644 (file)
@@ -1,3 +1,8 @@
+2005-03-03  Ramana Radhakrishnan  <ramana.radhakrishnan@codito.com>
+
+       * config/tc-arc.c(md_assemble): Remove dead code for handling
+       immediate indexing of ld and st .
+
 2005-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>
 
index 12dfd9dffbd3bb386973763f48cdb35656cc758f..3bdb160aab8cbca70a6aec882f7455ec5ec18336 100644 (file)
@@ -436,15 +436,7 @@ md_assemble (str)
          /* Non operand chars must match exactly.  */
          if (*syn != '%' || *++syn == '%')
            {
-             /* Handle '+' specially as we want to allow "ld r0,[sp-4]".  */
-             /* ??? The syntax has changed to [sp,-4].  */
-             if (0 && *syn == '+' && *str == '-')
-               {
-                 /* Skip over syn's +, but leave str's - alone.
-                    That makes the case identical to "ld r0,[sp+-4]".  */
-                 ++syn;
-               }
-             else if (*str == *syn)
+            if (*str == *syn)
                {
                  if (*syn == ' ')
                    past_opcode_p = 1;