Delete unnecessary code copying SHF_SH5_ISA32 flag
authorAlan Modra <amodra@gmail.com>
Fri, 26 Dec 2014 07:56:38 +0000 (18:26 +1030)
committerAlan Modra <amodra@gmail.com>
Fri, 26 Dec 2014 11:49:30 +0000 (22:19 +1030)
commit0abb10c82d2c202e34b87104d51080b6d1de26d1
tree4f211507a1f305f051730309e436c23f7f976006
parentff600205664cc39be32910e4bf36c3de8183f93c
Delete unnecessary code copying SHF_SH5_ISA32 flag

Since 2006, commit d270463e9, _bfd_elf_copy_private_section_data has
copied over SHF_MASKOS and SHF_MASKPROC flags.  That makes the buggy
code in sh_elf64_copy_private_data_internal redundant.

bfd/
PR 17755
* elf64-sh64.c (sh_elf64_copy_private_data_internal): Delete code
copying SHF_SH5_ISA32.
binutils/testsuite/
* binutils-all/strip-11.d: New test.
* binutils-all/objcopy.exp: Run it.
bfd/ChangeLog
bfd/elf64-sh64.c
binutils/testsuite/ChangeLog
binutils/testsuite/binutils-all/objcopy.exp
binutils/testsuite/binutils-all/strip-11.d [new file with mode: 0644]