PR ld/12451
authorNick Clifton <nickc@redhat.com>
Wed, 14 Dec 2011 11:50:13 +0000 (11:50 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 14 Dec 2011 11:50:13 +0000 (11:50 +0000)
commit4d48ecf313d597450f4540e6d1eeb0ac4c56866c
tree16a54f7169d4222be7723ccf91a458df89798dd8
parenta455111938d5abb9ed13004b040e831f836fdc23
PR ld/12451
* elfcode.h (elf_checksum_contents): Read in the section's
contents if they are not already available.
* compress.c (bfd_get_full_section_contents): Use zmalloc to
allocate the buffers so that excess bytes are guaranteed to be
zero.
bfd/ChangeLog
bfd/compress.c
bfd/elfcode.h