* elf64-hppa.c: Declare alloca when __GNUC__ is defined.
* som.c: Likewise.
2007-12-28 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
+ PR binutils/5146
+ * elf64-hppa.c: Declare alloca when __GNUC__ is defined.
+ * som.c: Likewise.
+
* elf-hppa.h (elf_hppa_osec_to_segment): New function.
(elf_hppa_record_segment_addrs): Use elf_hppa_osec_to_segment.
Remove ATTRIBUTE_UNUSED from abfd argument.
# endif /* alloca */
# endif /* _AIX */
# endif /* HAVE_ALLOCA_H */
+#else
+extern void *alloca (size_t);
#endif /* __GNUC__ */
# endif /* alloca */
# endif /* _AIX */
# endif /* HAVE_ALLOCA_H */
+#else
+extern void *alloca (size_t);
#endif /* __GNUC__ */
static bfd_reloc_status_type hppa_som_reloc