Strip 2.13 corrupts exe file

Nick Clifton nickc@redhat.com
Thu Mar 20 08:56:00 GMT 2003


Hi Richard,

> Yes! With the patch applied, the stipped exe file works as
> expected. Thanks a lot, this was driving us quite mad.

Excellent - I will apply it to the sources.

> One more question: isn't it strange I am the only one stumbling upon
> this? Or are the internals of our executable very non-standard? (I am
> not too familiar with pei-i386 myself.)

Well PE and PEI are standard formats, so that is not the problem.  I
guess that most people (who use them) are not stripping their
binaries.  The bug only affected strip (and objcopy), so if you did
not use those tools you would not encounter the problem.

Cheers
        Nick



More information about the Binutils mailing list