diff options
author | Nick Clifton <nickc@redhat.com> | 2011-12-14 16:12:13 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2011-12-14 16:12:13 +0000 |
commit | 0d13c96b214428affc33281d6d119a873c45acee (patch) | |
tree | 6eb7565e1c50f28b760697df8e35b7b5229c0737 /bfd/ChangeLog | |
parent | 1963ff96820f35bddc85eb409caca40810cbcf57 (diff) | |
download | fsf-binutils-gdb-0d13c96b214428affc33281d6d119a873c45acee.zip fsf-binutils-gdb-0d13c96b214428affc33281d6d119a873c45acee.tar.gz fsf-binutils-gdb-0d13c96b214428affc33281d6d119a873c45acee.tar.bz2 |
When computing checksums, skip the contents of sections with the SHT_NOBITS type.
Revert change to compress.c
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 96ab879..9e995a1 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -2,7 +2,9 @@ PR ld/12451 * elfcode.h (elf_checksum_contents): Read in the section's - contents if they are not already available. + contents if they are not already available, and the section + actually has some contents. + * compress.c (bfd_get_full_section_contents): Use zmalloc to allocate the buffers so that excess bytes are guaranteed to be zero. |