Incomplete .macro documentation?

Jan Zizka ziza@klubicko.net
Thu Jul 17 17:30:00 GMT 2003


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



More information about the Binutils mailing list