PR ld/12451
commitc6cecc3e35430e087aece9853d5098face6f10d8
authorNick Clifton <nickc@redhat.com>
Wed, 14 Dec 2011 11:50:12 +0000 (14 11:50 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 14 Dec 2011 11:50:12 +0000 (14 11:50 +0000)
tree89a2bc364099b0b1084ebe2bafd6569e1bb5a41f
parent426a42def94d4edf831e4aeaca4e01c26c6400cf
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