Replace as_tsktsk with as_warn.

Make reference to first element of shift_names explicit.
This commit is contained in:
Nick Clifton
2000-08-18 19:27:30 +00:00
parent 021986386e
commit 66102fe268
2 changed files with 7 additions and 2 deletions

View 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

View 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