aboutsummaryrefslogtreecommitdiff
path: root/bfd/som.c
diff options
context:
space:
mode:
authorDave Anglin <dave.anglin@nrc.ca>2007-12-29 01:36:40 +0000
committerDave Anglin <dave.anglin@nrc.ca>2007-12-29 01:36:40 +0000
commitd68aa3e6e8a649be28be43c7a80740b281cc4da6 (patch)
tree0f240c7fe3331bb634871344497518f3f6296204 /bfd/som.c
parent548a34edb3ba956ca976901decb9bff54ae56612 (diff)
downloadgdb-d68aa3e6e8a649be28be43c7a80740b281cc4da6.zip
gdb-d68aa3e6e8a649be28be43c7a80740b281cc4da6.tar.gz
gdb-d68aa3e6e8a649be28be43c7a80740b281cc4da6.tar.bz2
PR binutils/5146
* elf64-hppa.c: Declare alloca when __GNUC__ is defined. * som.c: Likewise.
Diffstat (limited to 'bfd/som.c')
-rw-r--r--bfd/som.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/som.c b/bfd/som.c
index a43271c..f9aed16 100644
--- a/bfd/som.c
+++ b/bfd/som.c
@@ -59,6 +59,8 @@ extern void *alloca ();
# endif /* alloca */
# endif /* _AIX */
# endif /* HAVE_ALLOCA_H */
+#else
+extern void *alloca (size_t);
#endif /* __GNUC__ */
static bfd_reloc_status_type hppa_som_reloc