[patch] gas/ia64: fix error messages

David Mosberger davidm@napali.hpl.hp.com
Wed Jan 22 19:53:00 GMT 2003


The patch below fixes two rather obviously incorrect and very
confusing error messages.

Please apply.

Thanks,

	--david

2003-01-22  David Mosberger  <davidm@hpl.hp.com>

	* config/tc-ia64.c (dot_vframesp): Correct error message.
	(dot_vframepsp): Ditto.

Index: config/tc-ia64.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-ia64.c,v
retrieving revision 1.71
diff -u -r1.71 tc-ia64.c
--- config/tc-ia64.c	5 Sep 2002 00:01:17 -0000	1.71
+++ config/tc-ia64.c	22 Jan 2003 19:50:08 -0000
@@ -1,5 +1,5 @@
 /* tc-ia64.c -- Assembler for the HP/Intel IA-64 architecture.
-   Copyright 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
+   Copyright 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
    Contributed by David Mosberger-Tang <davidm@hpl.hp.com>
 
    This file is part of GAS, the GNU Assembler.
@@ -3063,7 +3066,7 @@
       add_unwind_entry (output_psp_sprel (e.X_add_number));
     }
   else
-    as_bad ("First operand to .vframesp must be a general register");
+    as_bad ("Operand to .vframesp must be a constant (sp-relative offset)");
 }
 
 static void
@@ -3079,7 +3082,7 @@
       add_unwind_entry (output_psp_sprel (e.X_add_number));
     }
   else
-    as_bad ("First operand to .vframepsp must be a general register");
+    as_bad ("Operand to .vframepsp must be a constant (psp-relative offset)");
 }
 
 static void



More information about the Binutils mailing list