This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


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

Re: Relocatable dll problems when generated by ld


Jon Thackray wrote:
> 
> It appears that relocatable dlls as produced by ld aren't quite right,
> at least in some cases. Here is what dumpbin had to say about one I
> produced.

... details removed ... 
 
> Apart from the problem of some funny names, and a pointer going
> outside the file, there is a problem with the names Init_dylan_ and
> dylan_init_thread_local both of which have an extra _ as produced by
> ld. Given that these names do not appear anywhere in the input to link
> or ld without the spare _, I can only assume that ld is doing some
> mangling of the COFF symbol names when producing its import and export
> tables, and that ld is not emulating this behaviour.

Try running my "peclean" utility on the DLL.  It should correct the 
pointer going outside the file.  If it does not, would it be possible
for you to send me a copy of the offending DLL to examine?

Thanks,
Bill
-- 
William Greathouse                | wgreathouse@smva.com  Email
SMV America, Engineering          | wgg@netcom.com        Email
8380 Darrow Road                  | (216) 425-1340 x4006  Voice
Twinsburg, OH  44087              | (216) 405-7684        FAX

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


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