This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] PR binutils/19020: objcopy interleave feature broken
- From: Andrew Stubbs <ams at codesourcery dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>, <binutils at sourceware dot org>
- Date: Tue, 29 Sep 2015 21:27:39 +0100
- Subject: Re: [PATCH] PR binutils/19020: objcopy interleave feature broken
- Authentication-results: sourceware.org; auth=none
- References: <20150928212502 dot GA9184 at intel dot com> <20150928235422 dot GA18908 at intel dot com> <20150929170622 dot GA19460 at intel dot com>
On 29/09/15 18:06, H.J. Lu wrote:
bfd/
PR binutils/19020
* bfd.c (bfd_convert_section_contents): Add ptr_size parameter.
* bfd-in2.h: Regenerated.
binutils/
PR binutils/19020
* objcopy.c (copy_object): Don't adjust the output section size
when copying from input sections.
(copy_section): Use input section size for the copy. Get the
updated section size from bfd_convert_section_contents.
binutils/testsuite/
PR binutils/19020
* binutils-all/objcopy.exp: Run pr19020a and pr19020b.
* lib/utils-lib.exp (run_dump_test): Support binary input.
* binutils-all/pr19020.in: New file.
* binutils-all/pr19020a.d: Likewise.
* binutils-all/pr19020b.d: Likewise.
Seems fine to me, FWIW.
Andrew