From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15498 invoked by alias); 17 Jul 2003 17:30:45 -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 15483 invoked from network); 17 Jul 2003 17:30:44 -0000 Received: from unknown (HELO velky) (213.243.169.136) by sources.redhat.com with SMTP; 17 Jul 2003 17:30:44 -0000 Received: by velky (Postfix, from userid 1000) id 9987C31EA40; Thu, 17 Jul 2003 20:30:42 +0300 (EEST) Date: Thu, 17 Jul 2003 17:30:00 -0000 From: Jan Zizka To: Nick Clifton Cc: binutils@sources.redhat.com Subject: Re: Incomplete .macro documentation? Message-ID: <20030717173042.GB32594@velky.homelinux.net> References: <20030715125103.GG10871@velky.homelinux.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.4i X-SW-Source: 2003-07/txt/msg00330.txt.bz2 Hi Nick, > It is not clear exactly what you want this macro to expand to. Are > you expecting 'TEST 1' to produce: > > .equ REG1_TEST,0 > .equ REG1_TEST,1 > > If so, then why have two .equ directives when the second one will > override the first ? > that is what I wanted, but the second .equ was supposed to be different :) (just a copy-pase error ") > > This I take is a feature of macros, but I didn't find anything about > > this in binutils manual. > > You are correct, this feature is not documented. (And it should be). > > > If not I think that it should be added :)) OK I can add it if > > anybody will point me to correct place ;) > > Please add it to gas/doc/as.texinfo in the node that describes the > .macro command. > I'll add that and I'll also check macro.c for other undocumented features :). Jan