This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: bfd/ieee.c bfd_zmalloc -> bfd_zalloc
- To: binutils at sourceware dot cygnus dot com
- Subject: Re: bfd/ieee.c bfd_zmalloc -> bfd_zalloc
- From: Alan Modra <alan at linuxcare dot com dot au>
- Date: Wed, 11 Oct 2000 10:52:14 +1100 (EST)
As Ian kindly pointed out to me...
bfd/ChangeLog
* ieee.c (ieee_make_empty_symbol): Oops, bfd_zalloc needs another arg.
Done too late at night, and it's obvious I didn't compile my change.
_And_, I'd just been telling someone else to watch out for seemingly
trivial changes involving bfd_release. The shame of it...
Index: ieee.c
===================================================================
RCS file: /cvs/src/src/bfd/ieee.c,v
retrieving revision 1.11
diff -u -p -r1.11 ieee.c
--- ieee.c 2000/10/10 15:50:35 1.11
+++ ieee.c 2000/10/10 23:15:04
@@ -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;
--
Linuxcare. Support for the Revolution.