Hi Peter,

I'm not sure were to get "a strip built from the current mainline binutils
sources" but I should be able to try that too if you can point me to it.

The sources are under CVS control and can be checked out via the procedure documented here:

  http://sourceware.org/binutils

There is no real need for you to do this though, as I have checked myself and these mainline sources also have the problem.

I do not know the cause yet, but at least one aspect of the problem is that the corrupt stripped binaries have a bogus .interp section. (Try running 'readelf -l' on them to see this). The bug is something to do with how the BFD library is regenerating the program headers after various sections have been stripped out of the binary.

I have tracked the huge size increase down to H.J.'s patch for PR 2258, but I do not know yet what, if anything, is wrong with that patch. Nor do I know if the huge size increase is actually a problem. After all on a file system that supports holes, the huge stripped binaries do not actually take up more disk space than their tiny brethren.

Cheers
  Nick


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to