diff options
Diffstat (limited to 'bfd/m68klinux.c')
-rw-r--r-- | bfd/m68klinux.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/bfd/m68klinux.c b/bfd/m68klinux.c index 9bbbd44..f612782 100644 --- a/bfd/m68klinux.c +++ b/bfd/m68klinux.c @@ -203,7 +203,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) { bfd_set_error (bfd_error_no_memory); @@ -217,11 +217,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; } |