From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24588 invoked by alias); 9 Feb 2005 09:23:44 -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 24497 invoked from network); 9 Feb 2005 09:23:31 -0000 Received: from unknown (HELO dair.pair.com) (209.68.1.49) by sourceware.org with SMTP; 9 Feb 2005 09:23:31 -0000 Received: (qmail 72377 invoked by uid 20157); 9 Feb 2005 09:23:31 -0000 Date: Wed, 09 Feb 2005 14:11:00 -0000 From: Hans-Peter Nilsson X-X-Sender: hp@dair.pair.com To: Jan Beulich cc: binutils@sources.redhat.com Subject: Re: [PATCH] Re: .macro behavior In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2005-02/txt/msg00152.txt.bz2 On Wed, 9 Feb 2005, Jan Beulich wrote: > >>> Hans-Peter Nilsson 08.02.05 18:31:37 >>> > >I thought you were talking about macro *parameter names*, as > >that's the change that exposed the mistake in the MMIX > >test-case. I agree the macro names themselves should be > >freely chosen (anything but whitespace or whatever). > > I'm actualy talking about both, and since both are symbol names, both > should get the same treatment as ordinary symbols (despite agreeing that > for macro parameters the previous restriction is less hurting). > Otherwise it's just inconsistent. I don't see what's wrong with that. I'd say it actually simplifies macro definitions and usage. The macro parameter name is used only in a macro definition, as a placeholder. It's no big limitation to make it alphanumeric_ only. Otherwise, the macro writer that wants to cater to multiple GAS ports (say, in a package similar to glibc) would have to avoid making the parameter name followed by any non-space character at all, in case some port has that character as part of an identifier. Like what happened with ":" and mmix in gas/mmix/relax2.s. You've changed semantics: this calls for at least a gas/NEWS item. brgds, H-P