This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
patch for gas error message
- To: binutils at sources dot redhat dot com
- Subject: patch for gas error message
- From: Philip Blundell <pb at futuretv dot com>
- Date: Thu, 02 Nov 2000 11:26:22 +0000
The error message that ARM GAS gives for a bad `msr' instruction is rather
ambiguous. Is this patch OK?
p.
2000-09-01 Theo Honohan <th@futuretv.com>
* config/tc-arm.c (do_msr): Improve error message.
Index: config/tc-arm.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-arm.c,v
retrieving revision 1.62
diff -u -r1.62 tc-arm.c
--- tc-arm.c 2000/10/27 13:55:49 1.62
+++ tc-arm.c 2000/11/02 10:32:02
@@ -2180,7 +2180,7 @@
if (inst.instruction & ((PSR_c | PSR_x | PSR_s) << PSR_SHIFT))
{
- inst.error = _("can only set flag field with immediate value");
+ inst.error = _("only flag field of psr can be set with immediate value");
return;
}