diff options
author | David MacKenzie <djm@cygnus> | 1994-02-05 02:46:12 +0000 |
---|---|---|
committer | David MacKenzie <djm@cygnus> | 1994-02-05 02:46:12 +0000 |
commit | 0ee3427297272a636e7ef8378182a38d64ed7b7d (patch) | |
tree | 4aad622fe6694ef2d197613a4c15a17d349507ee /bfd/ecofflink.c | |
parent | 0b2f8d2edd598eb8f013e8b61fd49def1d908281 (diff) | |
download | gdb-0ee3427297272a636e7ef8378182a38d64ed7b7d.zip gdb-0ee3427297272a636e7ef8378182a38d64ed7b7d.tar.gz gdb-0ee3427297272a636e7ef8378182a38d64ed7b7d.tar.bz2 |
* 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.
Diffstat (limited to 'bfd/ecofflink.c')
-rw-r--r-- | bfd/ecofflink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/ecofflink.c b/bfd/ecofflink.c index 306f028..2f3235c 100644 --- a/bfd/ecofflink.c +++ b/bfd/ecofflink.c @@ -41,7 +41,7 @@ static boolean ecoff_write_symhdr PARAMS ((bfd *, struct ecoff_debug_info *, file_ptr where)); /* Obstack allocation and deallocation routines. */ -#define obstack_chunk_alloc bfd_xmalloc_by_size_t +#define obstack_chunk_alloc xmalloc #define obstack_chunk_free free /* The minimum amount of data to allocate. */ |