Commit e574d4f8 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

winebuild: Don't underscore local symbols in func_declaration.

This is the case in output_call16_function. GNU ld happens to handle it, but LLD does not. Signed-off-by: 's avatarJacek Caban <jacek@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent dd1a83c2
......@@ -1093,7 +1093,7 @@ const char *func_declaration( const char *func )
return "";
case PLATFORM_WINDOWS:
free( buffer );
buffer = strmake( ".def %s%s; .scl 2; .type 32; .endef", target_cpu == CPU_x86 ? "_" : "", func );
buffer = strmake( ".def %s; .scl 2; .type 32; .endef", asm_name(func) );
break;
default:
free( buffer );
......
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