diff options
author | Alan Modra <amodra@bigpond.net.au> | 2013-02-10 04:01:14 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2013-02-10 04:01:14 +0000 |
commit | 6feb8e5c5c33c8a6aff9481234d79afd231f61aa (patch) | |
tree | a01dea0247f2aaffb19b51b9e573e100aa45c9e1 /bfd/elf32-bfin.c | |
parent | dfcc77fe8f82b09f5bd3d282093c20762ee9ed77 (diff) | |
download | binutils-redhat-6feb8e5c5c33c8a6aff9481234d79afd231f61aa.tar.gz |
* i386linux.c (linux_link_hash_table_create): Allocate table
with bfd_zmalloc, not bfd_alloc.
* pdp11.c (link_hash_table_create): Allocate table with
bfd_malloc, not bfd_alloc.
* elf32-bfin.c (bfinfdpic_elf_link_hash_table_create): Allocate table
with bfd_zmalloc, not bfd_zalloc.
(bfin_link_hash_table_create): Likewise.
* elf32-frv.c (frvfdpic_elf_link_hash_table_create): Likewise.
* elf64-hppa.c (elf64_hppa_hash_table_create): Likewise.
Diffstat (limited to 'bfd/elf32-bfin.c')
-rw-r--r-- | bfd/elf32-bfin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elf32-bfin.c b/bfd/elf32-bfin.c index c8e089b7f0..a42d3a45db 100644 --- a/bfd/elf32-bfin.c +++ b/bfd/elf32-bfin.c @@ -1821,7 +1821,7 @@ bfinfdpic_elf_link_hash_table_create (bfd *abfd) struct bfinfdpic_elf_link_hash_table *ret; bfd_size_type amt = sizeof (struct bfinfdpic_elf_link_hash_table); - ret = bfd_zalloc (abfd, amt); + ret = bfd_zmalloc (amt); if (ret == NULL) return NULL; @@ -5088,7 +5088,7 @@ bfin_link_hash_table_create (bfd * abfd) struct bfin_link_hash_table *ret; bfd_size_type amt = sizeof (struct bfin_link_hash_table); - ret = bfd_zalloc (abfd, amt); + ret = bfd_zmalloc (amt); if (ret == NULL) return NULL; |