public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Jan Zizka <ziza@klubicko.net>
To: Nick Clifton <nickc@redhat.com>
Cc: binutils@sources.redhat.com
Subject: Re: Incomplete .macro documentation?
Date: Thu, 17 Jul 2003 17:30:00 -0000	[thread overview]
Message-ID: <20030717173042.GB32594@velky.homelinux.net> (raw)
In-Reply-To: <m3brvtjje0.fsf@redhat.com>

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

      parent reply	other threads:[~2003-07-17 17:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-15 12:51 Jan Zizka
2003-07-16  6:26 ` Ben Elliston
     [not found] ` <m3brvtjje0.fsf@redhat.com>
2003-07-17 17:30   ` Jan Zizka [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030717173042.GB32594@velky.homelinux.net \
    --to=ziza@klubicko.net \
    --cc=binutils@sources.redhat.com \
    --cc=nickc@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).