Fix my last change to actually compile.

This commit is contained in:
Alan Modra 2000-10-10 23:38:27 +00:00
parent fe268b663f
commit c0e219ccea
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2000-10-11 Alan Modra <alan@linuxcare.com.au>
* ieee.c (ieee_make_empty_symbol): Oops, bfd_zalloc needs another arg.
2000-10-10 Alan Modra <alan@linuxcare.com.au>
* ieee.c (ieee_make_empty_symbol): Use bfd_zalloc, not bfd_zmalloc.

View File

@ -3725,7 +3725,7 @@ ieee_make_empty_symbol (abfd)
bfd *abfd;
{
ieee_symbol_type *new =
(ieee_symbol_type *) bfd_zalloc (sizeof (ieee_symbol_type));
(ieee_symbol_type *) bfd_zalloc (abfd, sizeof (ieee_symbol_type));
if (!new)
return NULL;
new->symbol.the_bfd = abfd;