aboutsummaryrefslogtreecommitdiff
path: root/bfd/ChangeLog
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-09-21 19:38:40 -0700
committerH.J. Lu <hjl.tools@gmail.com>2015-09-21 19:38:40 -0700
commitc8b187ea07f534bac147cbbc44dd08925f5734b0 (patch)
tree70616f53b9376dd3213fed6d17d23ef9a174d68e /bfd/ChangeLog
parent6b9e742a93e42312b4e4012046eb8310a11f516a (diff)
downloadgdb-c8b187ea07f534bac147cbbc44dd08925f5734b0.zip
gdb-c8b187ea07f534bac147cbbc44dd08925f5734b0.tar.gz
gdb-c8b187ea07f534bac147cbbc44dd08925f5734b0.tar.bz2
Use bfd_get_32 and bfd_put_32 to access ch_type
The ch_type field in Elf64_External_Chdr is 4 bytes. We should use bfd_get_32 and bfd_put_32 to access it. * bfd.c (bfd_update_compression_header): Use bfd_put_32 on ch_type. (bfd_check_compression_header): Use bfd_get_32 on ch_type. (bfd_convert_section_contents): Use bfd_get_32 and bfd_put_32 on ch_type.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r--bfd/ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 37ba69f..d63d55b 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,11 @@
+2015-09-21 H.J. Lu <hongjiu.lu@intel.com>
+
+ * bfd.c (bfd_update_compression_header): Use bfd_put_32 on
+ ch_type.
+ (bfd_check_compression_header): Use bfd_get_32 on ch_type.
+ (bfd_convert_section_contents): Use bfd_get_32 and bfd_put_32
+ on ch_type.
+
2015-09-20 Rich Felker <dalias@libc.org>
* elflink.c (_bfd_elf_link_create_dynamic_sections): Don't create