[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/19020] objcopy interleave feature broken
From: |
cvs-commit at gcc dot gnu.org |
Subject: |
[Bug binutils/19020] objcopy interleave feature broken |
Date: |
Tue, 29 Sep 2015 20:34:09 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=19020
--- Comment #7 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot
gnu.org> ---
The master branch has been updated by H.J. Lu <address@hidden>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=cbd44e247ede49688e1e1fa42e57d390ad141967
commit cbd44e247ede49688e1e1fa42e57d390ad141967
Author: H.J. Lu <address@hidden>
Date: Tue Sep 29 09:35:47 2015 -0700
Don't use the output section size to copy input section
We can't use the output section size to copy input section since
--interleave will shrink the output section. Instead, we change
bfd_convert_section_contents to return the updated input section
size. When we do that, we don't need to adjust the output section
size to skip gap fills.
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.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug binutils/19020] New: objcopy interleave feature broken, ams at sourceware dot org, 2015/10/07
- [Bug binutils/19020] objcopy interleave feature broken, ams at sourceware dot org, 2015/10/08
- [Bug binutils/19020] objcopy interleave feature broken, hjl.tools at gmail dot com, 2015/10/08
- [Bug binutils/19020] objcopy interleave feature broken, ams at sourceware dot org, 2015/10/08
- [Bug binutils/19020] objcopy interleave feature broken, hjl.tools at gmail dot com, 2015/10/08
- [Bug binutils/19020] objcopy interleave feature broken, hjl.tools at gmail dot com, 2015/10/08
- [Bug binutils/19020] objcopy interleave feature broken, hjl.tools at gmail dot com, 2015/10/08
- [Bug binutils/19020] objcopy interleave feature broken,
cvs-commit at gcc dot gnu.org <=
- [Bug binutils/19020] objcopy interleave feature broken, hjl.tools at gmail dot com, 2015/10/08