* libbfd-in.h: Remove alloca cruft. It was missing some necessary
authorJim Kingdon <jkingdon@engr.sgi.com>
Thu, 10 Mar 1994 02:33:01 +0000 (02:33 +0000)
committerJim Kingdon <jkingdon@engr.sgi.com>
Thu, 10 Mar 1994 02:33:01 +0000 (02:33 +0000)
commitd7fb4531821193bd3a57455c59625864f5314dee
treea0a5d1c591f4fbbc7b2d95a2b174a9f65333d171
parent6305159078b6448a4ed2efddb34e77a9bb240422
* libbfd-in.h: Remove alloca cruft.  It was missing some necessary
cruft (like the #pragma alloca for AIX).
In addition to that problem, the C alloca calls xmalloc, which
means checking for being out of memory can't work right.  The
following changes remove all uses of alloca from BFD.
* hosts/solaris2.h: Remove alloca cruft.
* som.c: Replace alloca with a fixed size auto array.
* aoutx.h, elfcode.h, nlmcode.h, bout.c, coff-alpha.c, ecoff.c,
ecofflink.c, elf32-hppa.c, elf32-mips.c, linker.c, reloc.c, som.c,
sunos.c: Replace alloca with malloc and appropriate error checking and
freeing.
* linker.c: Replace alloca with obstack_alloc.
* libbfd.h: Rebuilt.
bfd/ChangeLog
bfd/sunos.c