diff options
Diffstat (limited to 'bfd/elf64-sh64.c')
-rw-r--r-- | bfd/elf64-sh64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf64-sh64.c b/bfd/elf64-sh64.c index b57cc08..48e7e49 100644 --- a/bfd/elf64-sh64.c +++ b/bfd/elf64-sh64.c @@ -3717,7 +3717,7 @@ sh64_elf64_size_dynamic_sections (output_bfd, info) } /* Allocate memory for the section contents. */ - s->contents = (bfd_byte *) bfd_alloc (dynobj, s->_raw_size); + s->contents = (bfd_byte *) bfd_zalloc (dynobj, s->_raw_size); if (s->contents == NULL && s->_raw_size != 0) return false; } |