bfd/ieee.c bfd_zmalloc -> bfd_zalloc

Alan Modra alan@linuxcare.com.au
Tue Oct 10 16:52:00 GMT 2000


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.



More information about the Binutils mailing list