aboutsummaryrefslogtreecommitdiff
path: root/bfd/sparclinux.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/sparclinux.c')
-rw-r--r--bfd/sparclinux.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/bfd/sparclinux.c b/bfd/sparclinux.c
index 6edfeeb..7ed255f 100644
--- a/bfd/sparclinux.c
+++ b/bfd/sparclinux.c
@@ -200,7 +200,7 @@ linux_link_hash_table_create (bfd *abfd)
struct linux_link_hash_table *ret;
bfd_size_type amt = sizeof (struct linux_link_hash_table);
- ret = (struct linux_link_hash_table *) bfd_malloc (amt);
+ ret = (struct linux_link_hash_table *) bfd_zmalloc (amt);
if (ret == (struct linux_link_hash_table *) NULL)
return (struct bfd_link_hash_table *) NULL;
if (!NAME(aout,link_hash_table_init) (&ret->root, abfd,
@@ -211,11 +211,6 @@ linux_link_hash_table_create (bfd *abfd)
return (struct bfd_link_hash_table *) NULL;
}
- ret->dynobj = NULL;
- ret->fixup_count = 0;
- ret->local_builtins = 0;
- ret->fixup_list = NULL;
-
return &ret->root.root;
}