Clear the ch_reserved field in 64-bit output
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 6 Oct 2015 21:34:17 +0000 (14:34 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 6 Oct 2015 21:34:17 +0000 (14:34 -0700)
commit8c6da3dfbc65354975680bf7d8e273dbdca5de87
tree8fb908ec343ee21d9f26337c12f9babc661cc358
parentcbd641edf3323ce354c0bc7eb54496057040b564
Clear the ch_reserved field in 64-bit output

It is better to clear the ch_reserved field of Elf64_External_Chdr
in 64-bit output.

* bfd.c (bfd_update_compression_header): Clear the ch_reserved
field in 64-bit output.
(bfd_convert_section_contents): Likewise.
bfd/ChangeLog
bfd/bfd.c