aboutsummaryrefslogtreecommitdiff
path: root/bfd/ecofflink.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/ecofflink.c')
-rw-r--r--bfd/ecofflink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/ecofflink.c b/bfd/ecofflink.c
index 2f3235c..306f028 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 xmalloc
+#define obstack_chunk_alloc bfd_xmalloc_by_size_t
#define obstack_chunk_free free
/* The minimum amount of data to allocate. */