forked from Mirrors/wine-wine
winebuild: Quote stdcall decored symbols.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>stable
parent
bdcc54c19d
commit
a3e1fe936e
|
@ -759,7 +759,7 @@ static void output_module16( DLLSPEC *spec )
|
||||||
if (!odp || !is_function( odp )) continue;
|
if (!odp || !is_function( odp )) continue;
|
||||||
output( ".L__wine_%s_%u:\n", spec->c_name, i );
|
output( ".L__wine_%s_%u:\n", spec->c_name, i );
|
||||||
output( "\tpushw %%bp\n" );
|
output( "\tpushw %%bp\n" );
|
||||||
output( "\tpushl $%s\n",
|
output( "\tpushl $\"%s\"\n",
|
||||||
asm_name( odp->type == TYPE_STUB ? get_stub_name( odp, spec ) : get_link_name( odp )));
|
asm_name( odp->type == TYPE_STUB ? get_stub_name( odp, spec ) : get_link_name( odp )));
|
||||||
output( "\tcallw .L__wine_spec_callfrom16_%s\n", get_callfrom16_name( odp ) );
|
output( "\tcallw .L__wine_spec_callfrom16_%s\n", get_callfrom16_name( odp ) );
|
||||||
}
|
}
|
||||||
|
|
|
@ -570,7 +570,7 @@ void output_exports( DLLSPEC *spec )
|
||||||
output( "1:\tjmp *__imp_%s-1b(%%eax)\n", asm_name( get_link_name( odp )));
|
output( "1:\tjmp *__imp_%s-1b(%%eax)\n", asm_name( get_link_name( odp )));
|
||||||
needs_get_pc_thunk = 1;
|
needs_get_pc_thunk = 1;
|
||||||
}
|
}
|
||||||
else output( "\tjmp *__imp_%s\n", asm_name( get_link_name( odp )));
|
else output( "\tjmp *\"__imp_%s\"\n", asm_name( get_link_name( odp )));
|
||||||
break;
|
break;
|
||||||
case CPU_x86_64:
|
case CPU_x86_64:
|
||||||
output( "\t.byte 0x48\n" ); /* hotpatch prolog */
|
output( "\t.byte 0x48\n" ); /* hotpatch prolog */
|
||||||
|
|
Loading…
Reference in New Issue