Index: bfd/sparclinux.c |
diff --git a/bfd/sparclinux.c b/bfd/sparclinux.c |
index 6edfeeb35950c71caf4811a9365c4e3efcf7a559..7ed255f41e335bb2f6a22cd1261596a115272c20 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; |
} |