Win32 DLL linked with debug information has some
references to the <.stub> section in relocation table.
After STRIP utility removes <.stub> sections, DLL can
not be relocated and LoadLibrary() fails.
Proposed patch (see attachment) for file peXXigen.c
(binutils/bfd) fixes relocation table after some debug
sections was removed from DLL.
Log in to post a comment.