Replace as_tsktsk with as_warn.
authorNick Clifton <nickc@redhat.com>
Fri, 18 Aug 2000 19:27:30 +0000 (19:27 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 18 Aug 2000 19:27:30 +0000 (19:27 +0000)
Make reference to first element of shift_names explicit.

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

index 011b7d8..f2e576e 100644 (file)
@@ -1,3 +1,8 @@
+2000-08-18  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-arm.c (decode_shift): Replace as_tsktsk with as_warn.
+       Make reference to first element of shift_names explicit.
+
 2000-08-18  Alexandre Oliva  <aoliva@redhat.com>
 
        * write.c (fixup_segment) [TC_DONT_FIX_NON_ADJUSTABLE]: Use
index c6d7966..faded96 100644 (file)
@@ -2608,8 +2608,8 @@ decode_shift (str, unrestrict)
             about this though.  */
          if (num == 0)
            {
-             as_tsktsk (_("Shift of 0 ignored."));
-             shift = shift_names;
+             as_warn (_("Shift of 0 ignored."));
+             shift = & shift_names[0];
              assert (shift->properties->index == SHIFT_LSL);
            }
          else