diff options
author | Dave Anglin <dave.anglin@nrc.ca> | 2007-12-29 01:36:40 +0000 |
---|---|---|
committer | Dave Anglin <dave.anglin@nrc.ca> | 2007-12-29 01:36:40 +0000 |
commit | 14627cd87af543f9991508c311d15115fe655073 (patch) | |
tree | 588e1b824dcf29d49e4647f62bf78acc51eb180c /bfd/elf64-hppa.c | |
parent | 02f9c2fbf3637e1a1bc61569ae58421b3c02986a (diff) | |
download | binutils-redhat-14627cd87af543f9991508c311d15115fe655073.tar.gz |
PR binutils/5146
* elf64-hppa.c: Declare alloca when __GNUC__ is defined.
* som.c: Likewise.
Diffstat (limited to 'bfd/elf64-hppa.c')
-rw-r--r-- | bfd/elf64-hppa.c | 2 |
1 files changed, 2 insertions, 0 deletions
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__ */ |