summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2000-08-18 19:27:30 +0000
committerNick Clifton <nickc@redhat.com>2000-08-18 19:27:30 +0000
commit66102fe268a3511a519734b84f53df14263c799e (patch)
tree7ffd0e50223fbe7a216022d4402fc5592a413be3
parent021986386e5aea745ae5b4300b84a3f8ef50e00b (diff)
downloadppe42-binutils-66102fe268a3511a519734b84f53df14263c799e.tar.gz
ppe42-binutils-66102fe268a3511a519734b84f53df14263c799e.zip
Replace as_tsktsk with as_warn.
Make reference to first element of shift_names explicit.
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-arm.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 011b7d8480..f2e576e2db 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index c6d7966969..faded9626b 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -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
OpenPOWER on IntegriCloud