aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-frv.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2013-02-10 04:01:15 +0000
committerAlan Modra <amodra@gmail.com>2013-02-10 04:01:15 +0000
commit22cdc249cd8dd8a43a5a4d2cba2b69f240362a8b (patch)
tree2532f5f4a13fb7f0e699b45bf644dabc8a2f2cc0 /bfd/elf32-frv.c
parent0e5de31a6cfc218ea24a2c750921f7411c4e5c01 (diff)
downloadfsf-binutils-gdb-22cdc249cd8dd8a43a5a4d2cba2b69f240362a8b.zip
fsf-binutils-gdb-22cdc249cd8dd8a43a5a4d2cba2b69f240362a8b.tar.gz
fsf-binutils-gdb-22cdc249cd8dd8a43a5a4d2cba2b69f240362a8b.tar.bz2
* 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-frv.c')
-rw-r--r--bfd/elf32-frv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-frv.c b/bfd/elf32-frv.c
index 94e0855..0f35082 100644
--- a/bfd/elf32-frv.c
+++ b/bfd/elf32-frv.c
@@ -952,7 +952,7 @@ frvfdpic_elf_link_hash_table_create (bfd *abfd)
struct frvfdpic_elf_link_hash_table *ret;
bfd_size_type amt = sizeof (struct frvfdpic_elf_link_hash_table);
- ret = bfd_zalloc (abfd, amt);
+ ret = bfd_zmalloc (amt);
if (ret == NULL)
return NULL;