diff options
Diffstat (limited to 'bfd/elf32-tic6x.c')
-rw-r--r-- | bfd/elf32-tic6x.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bfd/elf32-tic6x.c b/bfd/elf32-tic6x.c index fb30e923a52..d376fe1d431 100644 --- a/bfd/elf32-tic6x.c +++ b/bfd/elf32-tic6x.c @@ -1570,7 +1570,7 @@ elf32_tic6x_link_hash_table_create (bfd *abfd) struct elf32_tic6x_link_hash_table *ret; bfd_size_type amt = sizeof (struct elf32_tic6x_link_hash_table); - ret = bfd_malloc (amt); + ret = bfd_zmalloc (amt); if (ret == NULL) return NULL; @@ -1583,7 +1583,6 @@ elf32_tic6x_link_hash_table_create (bfd *abfd) return NULL; } - ret->sym_cache.abfd = NULL; ret->obfd = abfd; ret->elf.is_relocatable_executable = 1; |