Need help figuring out DLL load problem

Dave Korn dave.korn.cygwin@googlemail.com
Thu Jul 30 17:59:00 GMT 2009


Danny Backx wrote:

> 0x00401099 <_Z41__static_initialization_and_destruction_0ii+28>:
> call   0x404130 <_imp___ZNSt8ios_base4InitC1Ev>

  What is at 0x404130?  Import table by any chance?

> 0x00401099 <_Z41__static_initialization_and_destruction_0ii+28>:
> call   0x423517be

> The call statement (last line) doesn't look right. It even points to a
> location outside the DLL, or so it seems :

> 0x41ee1000  0x41fb2990
> Yes         /opt/x86mingw32ce/i386-mingw32ce/lib/libstdc++-6.dll
>                         No          \Windows\coredll.dll

  I wonder if somehow an auto-import fixup is being applied to something that is
in fact a jump to an import stub.  Let's have a look at the output of "objdump
-p" on the exe.

    cheers,
      DaveK



More information about the Binutils mailing list