Summary: | objdump craches on simple *.exe / application doesn't work. | ||
---|---|---|---|
Product: | binutils | Reporter: | Pawel Sikora <pluto> |
Component: | binutils | Assignee: | Kai Tietz <ktietz> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bug-binutils |
Priority: | P2 | ||
Version: | 2.18 | ||
Target Milestone: | --- | ||
Host: | x86_64-gnu-linux | Target: | x86_64-pc-mingw32 |
Build: | Last reconfirmed: | ||
Attachments: |
testcase
dep walker report. Fix for problem |
Description
Pawel Sikora
2008-04-03 10:18:55 UTC
Created attachment 2347 [details]
testcase
$ x86_64-pc-mingw32-gcc -v Using built-in specs. Target: x86_64-pc-mingw32 Configured with: ../gcc/configure --prefix=/tmp/root-x86_64-pc-linux --with-sysroot=/tmp/root-x86_64-pc-linux --target=x86_64-pc-mingw32 Thread model: win32 gcc version 4.4.0 20080402 (experimental) (GCC) this is a mingw64 toolchain snapshot from sf.net. Created attachment 2348 [details]
dep walker report.
the a.exe's import table looks broken.
Created attachment 2349 [details]
Fix for problem
The rva's offset for IAT and thunk was not set to PE_IDATA4_SIZE or
PE_IDATA5_SIZE. This results in wrong values read on 4 byte offset.
Committed at revision 1.103 |