From 14627cd87af543f9991508c311d15115fe655073 Mon Sep 17 00:00:00 2001 From: Dave Anglin Date: Sat, 29 Dec 2007 01:36:40 +0000 Subject: PR binutils/5146 * elf64-hppa.c: Declare alloca when __GNUC__ is defined. * som.c: Likewise. --- bfd/elf64-hppa.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bfd/elf64-hppa.c') diff --git a/bfd/elf64-hppa.c b/bfd/elf64-hppa.c index 0eb1787a11..b203205049 100644 --- a/bfd/elf64-hppa.c +++ b/bfd/elf64-hppa.c @@ -48,6 +48,8 @@ extern void *alloca (); # endif /* alloca */ # endif /* _AIX */ # endif /* HAVE_ALLOCA_H */ +#else +extern void *alloca (size_t); #endif /* __GNUC__ */ -- cgit v1.2.1