This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Preprocessor for assembler macros?
- From: Andrew Haley <aph at redhat dot com>
- To: Ian Lance Taylor <iant at google dot com>
- Cc: binutils at sourceware dot org
- Date: Mon, 09 Mar 2009 09:20:42 +0000
- Subject: Re: Preprocessor for assembler macros?
- References: <200903081131.49815@marek.priv.at> <m3zlfv8ecc.fsf@google.com>
Ian Lance Taylor wrote:
> Philipp Marek <philipp@marek.priv.at> writes:
>
>> I already asked that on gcc-help@ but got no answer, so I'm trying again here.
>
> Sorry, this is the wrong mailing list, and so is gcc-help.
> gcc@gcc.gnu.org is for discussion of development of gcc. You are asking
> a question about the assembler. The assembler is part of the GNU
> binutils, not gcc. Try binutils@sourceware.org. See
> http://sourceware.org/binutils/ .
>
>
>> I'm looking for a way to get inbetween the assembler macro processor and the
>> assembler.
>> I'd like to get the assembler sources mostly as-is, but with the macros used
>> therein already expanded.
>
> As far as I know there is no straightforward way to do this. (There
> certainly was no way to do it back when I implemented macros in gas.)
OK, I have to ask. If you can't see the effect of macro expansion, how on Earth
did you test the macro processor. I even imagine how you'd develop a macro
processor whose output you couldn't see. :-)
Andrew.