This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

patch for gas error message


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;
     }
 



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]