This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Need help figuring out DLL load problem


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


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