diff options
author | Alan Modra <amodra@gmail.com> | 2000-10-10 15:50:35 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2000-10-10 15:50:35 +0000 |
commit | fe268b663f34f05e8c3136c0e74baef42be27992 (patch) | |
tree | a5117c6a3f922f415e85e40180e3c718f032623a /bfd | |
parent | 4d7ce4dd486816139276a2c5cf90e0213fb47b21 (diff) | |
download | gdb-fe268b663f34f05e8c3136c0e74baef42be27992.zip gdb-fe268b663f34f05e8c3136c0e74baef42be27992.tar.gz gdb-fe268b663f34f05e8c3136c0e74baef42be27992.tar.bz2 |
(ieee_make_empty_symbol): Use bfd_zalloc, not bfd_zmalloc.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 4 | ||||
-rw-r--r-- | bfd/ieee.c | 2 |
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 @@ -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; |