delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/07/11/14:39:14

From: wgreathouse AT smva DOT com (William Greathouse)
Subject: Re: Relocatable dll problems when generated by ld
11 Jul 1997 14:39:14 -0700 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <33C42161.B3820489.cygnus.gnu-win32@smva.com>
References: <199707101528 DOT QAA27954 AT zaphod DOT long DOT harlequin DOT co DOT uk>
Mime-Version: 1.0
>Received: from iago by mailserv.smva.com (AIX 3.2/UCB 5.64/4.03)
id AA15167; Fri, 11 Jul 1997 08: 48:52 -0400
X-Mailer: Mozilla 4.0b5 [en] (Win95; I)
Original-To: Jon Thackray <jont AT harlequin DOT co DOT uk>
Original-Cc: gnu-win32 AT cygnus DOT com
X-Priority: 3 (Normal)
Original-Sender: owner-gnu-win32 AT cygnus DOT com

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 AT smva DOT com  Email
SMV America, Engineering          | wgg AT netcom DOT 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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019