Re: [PATCH 08/41] m68k: fix macro syntax to make current binutils happy

From: Al Viro
Date: Thu Jan 05 2006 - 06:36:01 EST


On Thu, Jan 05, 2006 at 03:51:18AM +0000, Al Viro wrote:
> On Thu, Jan 05, 2006 at 04:11:35AM +0100, Roman Zippel wrote:
> > Hi,
> >
> > On Wednesday 04 January 2006 00:27, Al Viro wrote:
> >
> > > recent as(1) doesn't think that . terminates a macro name, so
> > > getuser.l is _not_ treated as invoking getuser with .l as the
> > > first argument.
> >
> > Al, please don't send the binutils patches yet, I simply need more time to
> > figure out how to deal with it and it's not a critical patch.
> > Linus, please don't apply patch 8 and 9.
>
> OK. Nothing else depends on those; however, getuser.l stuff _is_ documented.
>
> Frankly, my preference long-term would be to kill the .macro and just
> use C preprocessor for expansion. Do you have any objections against
> such variant?

Scratch that; too much PITA to implement the horrors you've got there
(vararg recursive macros <shudder>).

Al, very tempted to do scripts/m4/ - would far more compact than e.g. kconfig,
if we don't bother with GNU extensions; classic m4 is essentially a weekend
project...
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/