yasm not allowing __fastcall naming

Peter Johnson peter at tortall.net
Thu Apr 10 12:00:29 PDT 2008


On Thu, 10 Apr 2008 10:28:54 -0700, Cory Nelson wrote
> On Sat, Sep 16, 2006 at 7:34 PM, Peter Johnson <peter at tortall.net> wrote:
> > On Sat, 16 Sep 2006, Cory Nelson wrote:
> >
> >
> > > I seem to be having problems declaring globals like @function at 4, the
> > > windows __fastcall naming convention, is this intentional?
> > >
> >
> >  Prepend the identifier with $, e.g. $@function at 4 (in both the global and
> > where you define it).  We currently don't allow identifiers to start with @;
> > we may change this (looking at it now I'm not sure why we don't allow it),
> > but at the moment just prepend $ to such names.
> >
> 
> I can't believe I forgot about this for so long!  It's still not
> allowed - I guess we found a good reason for that?

It should be allowed as of r2038.  If it doesn't work in a recent snapshot,
please send me a small snippet of code for a testcase.

I'm working on the new AVX instructions and will get a release out once
they're done (within a week or two).

Peter


More information about the yasm-devel mailing list