OSDN Git Service

PR ld/12451
authornickc <nickc>
Wed, 14 Dec 2011 11:50:12 +0000 (11:50 +0000)
committernickc <nickc>
Wed, 14 Dec 2011 11:50:12 +0000 (11:50 +0000)
commite9a10e1866fe6ac1927f784c5600481b7fc64662
tree3ee26b9e7670f9e6e2bd526603543dbfbd101e7e
parent576a7a9d629485fd914108aeabbdbcfe2e160e05
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