LoadLibrary may fail if DLL is built with gcc -shared
Fabrizio Gennari
fabrizio.ge@tiscalinet.it
Sun May 4 11:45:00 GMT 2003
----- Original Message -----
From: "Nick Clifton" <nickc@redhat.com>
To: <fabrizio.ge@tiscali.it>
Cc: <binutils@sources.redhat.com>
Sent: Friday, April 25, 2003 4:04 PM
Subject: Re: LoadLibrary may fail if DLL is built with gcc -shared
> Please could you try applying the attached (untested) patch,
> rebuilding the linker and then seeing if it creates a DLL which works
> for you.
>
I'm afraid the result is the same. However, I wrote another patch. According
to the few tests I've made, it seems to work. It can be summarized as:
pe-dll.c (fill_edata): scan table pe_dll->exports, which is sorted
alphabetically, instead of exported_symbols, which is sorted by ordinal
The patch should be attached
Bye
Fabrizio
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ld-patch.txt
URL: <https://sourceware.org/pipermail/binutils/attachments/20030504/fdf212a8/attachment.txt>
More information about the Binutils
mailing list