This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
RE: bfd/peigen.c problems and fix
- To: Donn Terry <donnte at microsoft dot com>
- Subject: RE: bfd/peigen.c problems and fix
- From: Szabolcs Szakacsits <szaka at F-Secure dot com>
- Date: Tue, 9 May 2000 18:00:46 +0200 (MEST)
- cc: 'Alan Modra' <alan at linuxcare dot com dot au>, binutils at sourceware dot cygnus dot com
On Mon, 8 May 2000, Donn Terry wrote:
> I'm still not to the point of being able to dig thru all
> of what's going on with this, but the patch made to peigen.c
> (1.9) doesn't seem right to me.
Maybe it doesn't *seem* right to you but now it *works* for me for every
dll's and exe's that I tested.
> Primarily, it removes a lot of code that doesn't have anything
> to do with the problem of Image Base. In fact it removes code
> that allows it to dump DLLs that it otherwise could not dump.
The above statment correctly,
In fact it removes code that *disallows* it to dump DLLs that it otherwise
*could* dump.
Before it was pretty annoying to watch the "There is an import table, but
the section containing it could not be found" messages, what I remember
you added but I don't have the picture what the reason was to break PEI so
badly.
> The change to insert or delete ImageBase (until the base problem
> gets fixed) is reasonable, but the other stuff should be left
> in place.
Yes, if you want a non-functioning objdump in the future as well. Please
send me testcases that don't work since I can't found [sure I don't
have sample from all of the PEI variants]. Thanks.
Szaka