cope with leading segment padding

Nathan Sidwell nathan@codesourcery.com
Thu Dec 14 10:05:00 GMT 2006


As I wrote at http://sourceware.org/ml/binutils/2006-12/msg00137.html  objcopy & 
objstrip were failing on a foreign executable due to leading padding in a segment.

This patch fixes objcopy and strip to cope with that.  I've tested on 
arm-wrs-vxworks and i686-linux-gnu with no regressions.  I can't readily produce 
a testcase for this problem, because binutils won't produce such an elf file.

ok?

nathan
-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::         CodeSourcery
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: all.diff
URL: <https://sourceware.org/pipermail/binutils/attachments/20061214/c8398d1b/attachment.ksh>


More information about the Binutils mailing list