Commit d1682984 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

Add a few missing __ASM_NAME macros.

parent 7c112c91
...@@ -1069,12 +1069,12 @@ void BuildPendingEventCheck( FILE *outfile ) ...@@ -1069,12 +1069,12 @@ void BuildPendingEventCheck( FILE *outfile )
fprintf( outfile, "\t.byte 0x64\n\ttestl $0xffffffff,(%d)\n", fprintf( outfile, "\t.byte 0x64\n\ttestl $0xffffffff,(%d)\n",
STRUCTOFFSET(TEB,vm86_pending) ); STRUCTOFFSET(TEB,vm86_pending) );
fprintf( outfile, "\tje DPMI_PendingEventCheck_Cleanup\n" ); fprintf( outfile, "\tje " __ASM_NAME("DPMI_PendingEventCheck_Cleanup") "\n" );
fprintf( outfile, "\t.byte 0x64\n\ttestl $0xffffffff,(%d)\n", fprintf( outfile, "\t.byte 0x64\n\ttestl $0xffffffff,(%d)\n",
STRUCTOFFSET(TEB,dpmi_vif) ); STRUCTOFFSET(TEB,dpmi_vif) );
fprintf( outfile, "\tje DPMI_PendingEventCheck_Cleanup\n" ); fprintf( outfile, "\tje " __ASM_NAME("DPMI_PendingEventCheck_Cleanup") "\n" );
/* Process pending events. */ /* Process pending events. */
...@@ -1082,14 +1082,14 @@ void BuildPendingEventCheck( FILE *outfile ) ...@@ -1082,14 +1082,14 @@ void BuildPendingEventCheck( FILE *outfile )
/* Start cleanup. Restore fs register. */ /* Start cleanup. Restore fs register. */
fprintf( outfile, ".globl DPMI_PendingEventCheck_Cleanup\n" ); fprintf( outfile, ".globl " __ASM_NAME("DPMI_PendingEventCheck_Cleanup") "\n" );
fprintf( outfile, "DPMI_PendingEventCheck_Cleanup:\n" ); fprintf( outfile, __ASM_NAME("DPMI_PendingEventCheck_Cleanup") ":\n" );
fprintf( outfile, "\tpopw %%fs\n" ); fprintf( outfile, "\tpopw %%fs\n" );
/* Return from function. */ /* Return from function. */
fprintf( outfile, ".globl DPMI_PendingEventCheck_Return\n" ); fprintf( outfile, ".globl " __ASM_NAME("DPMI_PendingEventCheck_Return") "\n" );
fprintf( outfile, "DPMI_PendingEventCheck_Return:\n" ); fprintf( outfile, __ASM_NAME("DPMI_PendingEventCheck_Return") ":\n" );
fprintf( outfile, "\tiret\n" ); fprintf( outfile, "\tiret\n" );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment