This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
RFA: broken strip/objcopy
- From: Kai Tietz <ktietz70 at googlemail dot com>
- To: Binutils <binutils at sourceware dot org>, Dave Korn <dave dot korn dot cygwin at googlemail dot com>
- Date: Fri, 24 Apr 2009 12:20:19 +0200
- Subject: RFA: broken strip/objcopy
Hello,
The current implementation of objcopy/strip in binutils has problems,
because for pe-coff targets. It assumes at the moment that it is an
i386 version. This leads to issues (especially on strip) for PE+
target that binaries are getting corrupted. So I think we have here to
move those target specific pe-coff parts into seperate files. (I
assume that possibly for othe pe-coff targets then i386 the same
problem exists). Of course we could use here target specific macros to
change internal structures, but for a mulilib version of them this
isn't suitable anymore.
So possible somebody of you have a strong opinion about how this issue
could be solved. I'll prepare a patch for it and post it soon.
Cheers,
Kai
--
| (\_/) This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination