mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 08:54:05 +00:00
winebuild: Fix import hint value for symbols imported by name.
This fixes incorrect hint values generated by dlltool: instead of the index in the name table, it used the ordinal value, which almost always ends up in a hint lookup failure and a fallback to binary search.
This commit is contained in:
parent
6b9773529c
commit
cfe83e80fc
|
@ -1902,7 +1902,7 @@ static void build_windows_import_lib( const char *lib_name, DLLSPEC *spec, struc
|
|||
{
|
||||
output( "\n\t.section \".idata$6\"\n" );
|
||||
output( ".L__wine_import_name:\n" );
|
||||
output( "\t.short %d\n", odp->ordinal );
|
||||
output( "\t.short %d\n", odp->hint );
|
||||
output( "\t%s \"%s\"\n", get_asm_string_keyword(), name );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue