Wrong error message in ia64 assembler
Andreas Schwab
schwab@suse.de
Mon Apr 18 20:07:00 GMT 2005
$ echo mov.i ar.fpsr=r0 | as -
{standard input}: Assembler messages:
{standard input}:1: Error: AR 40 cannot be accessed by M-unit
This should either say "cannot be accessed by I-unit" or "can only be
access by M-unit". I chose the latter. Ok?
Andreas.
2005-04-18 Andreas Schwab <schwab@suse.de>
* config/tc-ia64.c (md_assemble): Fix error message about invalid
access to application register.
--- gas/config/tc-ia64.c.~1.152.~ 2005-04-05 11:11:13.000000000 +0200
+++ gas/config/tc-ia64.c 2005-04-18 22:01:00.000000000 +0200
@@ -10694,7 +10694,7 @@ md_assemble (str)
else if (ar_is_only_in_memory_unit (CURR_SLOT.opnd[rop].X_add_number))
unit = 'm';
if (unit != 'a' && unit != idesc->name [4])
- as_bad ("AR %d cannot be accessed by %c-unit",
+ as_bad ("AR %d can only be accessed by %c-unit",
(int) (CURR_SLOT.opnd[rop].X_add_number - REG_AR),
TOUPPER (unit));
}
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, MaxfeldstraÃe 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
More information about the Binutils
mailing list