* libbfd.c (bfd_zmalloc): Call bfd_xmalloc instead of malloc.

(bfd_xmalloc, bfd_xmalloc_by_size_t): Functions deleted.
	* libbfd-in.h: Define them as macros calling xmalloc and declare
	xmalloc.
	* libbfd.h: Rebuilt.
	* ecofflink.c hash.c ieee.c opncls.c (obstack_chunk_alloc): Define
	to be xmalloc, not bfd_xmalloc_by_size_t.
This commit is contained in:
David MacKenzie
1994-02-05 02:46:12 +00:00
parent 0b2f8d2edd
commit 0ee3427297
8 changed files with 37 additions and 64 deletions

View File

@ -32,7 +32,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "obstack.h"
#define obstack_chunk_alloc bfd_xmalloc_by_size_t
#define obstack_chunk_alloc xmalloc
#define obstack_chunk_free free
/* Functions for writing to ieee files in the strange way that the