aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2000-10-10 15:50:35 +0000
committerAlan Modra <amodra@gmail.com>2000-10-10 15:50:35 +0000
commitfe268b663f34f05e8c3136c0e74baef42be27992 (patch)
treea5117c6a3f922f415e85e40180e3c718f032623a
parent4d7ce4dd486816139276a2c5cf90e0213fb47b21 (diff)
downloadgdb-fe268b663f34f05e8c3136c0e74baef42be27992.zip
gdb-fe268b663f34f05e8c3136c0e74baef42be27992.tar.gz
gdb-fe268b663f34f05e8c3136c0e74baef42be27992.tar.bz2
(ieee_make_empty_symbol): Use bfd_zalloc, not bfd_zmalloc.
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/ieee.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 5ab46c3..4f2fb8d 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2000-10-10 Alan Modra <alan@linuxcare.com.au>
+
+ * ieee.c (ieee_make_empty_symbol): Use bfd_zalloc, not bfd_zmalloc.
+
2000-10-10 Tom Rix <trix@redhat.com>
* section.c (bfd_make_section_anyway): Release newsect ptr when
diff --git a/bfd/ieee.c b/bfd/ieee.c
index e66e205..97ad7cc 100644
--- a/bfd/ieee.c
+++ b/bfd/ieee.c
@@ -3725,7 +3725,7 @@ ieee_make_empty_symbol (abfd)
bfd *abfd;
{
ieee_symbol_type *new =
- (ieee_symbol_type *) bfd_zmalloc (sizeof (ieee_symbol_type));
+ (ieee_symbol_type *) bfd_zalloc (sizeof (ieee_symbol_type));
if (!new)
return NULL;
new->symbol.the_bfd = abfd;