[patch] dlltool

Filip Navara navaraf@reactos.com
Mon Aug 1 15:54:00 GMT 2005


Hi!

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.

Best regards,
Filip
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dlltool.c.diff
Type: text/x-patch
Size: 1840 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20050801/b64f2f0c/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.tar.gz
Type: application/x-gzip
Size: 353 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20050801/b64f2f0c/attachment-0001.bin>


More information about the Binutils mailing list