Need help figuring out DLL load problem

Danny Backx danny.backx@scarlet.be
Wed Aug 5 19:52:00 GMT 2009


On Wed, 2009-08-05 at 20:57 +0200, Danny Backx wrote:
> On Wed, 2009-08-05 at 20:03 +0100, Dave Korn wrote:
> >   It gets called from pe_dll_generate_implib() according to what it's parsed
> > from the .def file.  Check that dlltool hasn't bogusly emitted the .def file
> > listing as a DATA export; otherwise the problem may be in ld's parsing and
> > handling of it.
> 
> You're right about the DATA entries.
> 
> I just discovered 5 minutes ago that the DATA in the .def file is indeed
> a difference (I grepped wrong, forgot to remove an underscore, so I
> didn't see that an hour ago).
> 
> Editing the .def file for this particular set of
> constructors/destructors gets the application beyond that point. But it
> still fails.
> 
> That's most likely due to the DATA entries for other stuff in the .def
> file : there are 1175 such lines on my ARM .def file, and 3801 in the
> i386 .def file :-(
> 
> 	Danny

I have trouble figuring out what's causing this, or where this field
(the BSF_FUNCTION ?) is set. Any bright ideas ?

	Danny
-- 
Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info



More information about the Binutils mailing list