This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] dlltool


Hi Filip,

I discovered a bug in dlltool that causes the export names in DLLs to be incorrectly sorted when fastcall and non-fastcall functions are mixed and --kill-at option is used. It causes the resulting binaries to be unloadable since Windows loader uses binary search for the exports. Attached is a test case and proposed fix.

Thanks for these. I have applied your patch to the mainline binutils sources.


Cheers
  Nick



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]