[PATCH] PR binutils/19020: objcopy interleave feature broken

Andrew Stubbs ams@codesourcery.com
Tue Sep 29 20:27:00 GMT 2015


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



More information about the Binutils mailing list