Commit f35fbc5b authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

winebuild: Use asm_name to add underscore prefix in asm_globl.

parent 6932138f
......@@ -1021,8 +1021,7 @@ const char *asm_globl( const char *func )
break;
case PLATFORM_MINGW:
case PLATFORM_WINDOWS:
buffer = strmake( "\t.globl %s%s\n%s%s:", target.cpu == CPU_i386 ? "_" : "", func,
target.cpu == CPU_i386 ? "_" : "", func );
buffer = strmake( "\t.globl %s\n%s:", asm_name( func ), asm_name( func ) );
break;
default:
buffer = strmake( "\t.globl %s\n\t.hidden %s\n%s:", func, func, func );
......
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