Don't output register function code if it's a forwarded entry point.
This commit is contained in:
parent
2229472d94
commit
08dfb8c91a
@ -372,6 +372,7 @@ static void output_register_funcs( FILE *outfile )
|
|||||||
ORDDEF *odp = EntryPoints[i];
|
ORDDEF *odp = EntryPoints[i];
|
||||||
if (odp->type != TYPE_STDCALL && odp->type != TYPE_CDECL) continue;
|
if (odp->type != TYPE_STDCALL && odp->type != TYPE_CDECL) continue;
|
||||||
if (!(odp->flags & FLAG_REGISTER)) continue;
|
if (!(odp->flags & FLAG_REGISTER)) continue;
|
||||||
|
if (odp->flags & FLAG_FORWARD) continue;
|
||||||
name = make_internal_name( odp, "regs" );
|
name = make_internal_name( odp, "regs" );
|
||||||
fprintf( outfile,
|
fprintf( outfile,
|
||||||
"asm(\".align %d\\n\\t\"\n"
|
"asm(\".align %d\\n\\t\"\n"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user