aboutsummaryrefslogtreecommitdiff
path: root/bfd/ecoff.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/ecoff.c')
-rw-r--r--bfd/ecoff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/ecoff.c b/bfd/ecoff.c
index d208105..511d88b 100644
--- a/bfd/ecoff.c
+++ b/bfd/ecoff.c
@@ -2632,7 +2632,7 @@ _bfd_ecoff_write_object_contents (bfd *abfd)
continue;
amt = current->reloc_count * external_reloc_size;
- reloc_buff = bfd_alloc (abfd, amt);
+ reloc_buff = bfd_zalloc (abfd, amt);
if (reloc_buff == NULL)
goto error_return;