In creating import defs for a dll, pe-dll.c is using same index for symbol table and address table. However, actually the valid index for function table is the ordinal offset of the symbol from the smallest ordinal.
Therefore, the created import defs table is not valid if the dll being imported has a function table which is not in the order of the ordinals. the function pe_implied_import_dll in pe-dll.c needs to be modified. Takashi Ono -- Summary: Bug in direct linkink to DLLs with ordinals Product: binutils Version: unspecified Status: NEW Severity: normal Priority: P2 Component: binutils AssignedTo: unassigned at sources dot redhat dot com ReportedBy: t_ono at hkfreak dot net CC: bug-binutils at gnu dot org http://sources.redhat.com/bugzilla/show_bug.cgi?id=785 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils