From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29265 invoked by alias); 18 Apr 2005 20:07:24 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 28473 invoked from network); 18 Apr 2005 20:07:20 -0000 Received: from unknown (HELO mx2.suse.de) (195.135.220.15) by sourceware.org with SMTP; 18 Apr 2005 20:07:20 -0000 Received: from hermes.suse.de (hermes-ext.suse.de [195.135.221.8]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id 3FDD88323 for ; Mon, 18 Apr 2005 22:07:15 +0200 (CEST) To: binutils@sources.redhat.com Subject: Wrong error message in ia64 assembler From: Andreas Schwab X-Yow: I feel partially hydrogenated! Date: Mon, 18 Apr 2005 20:07:00 -0000 Message-ID: User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-SW-Source: 2005-04/txt/msg00491.txt.bz2 $ 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 * 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."