diff options
author | Alan Modra <amodra@bigpond.net.au> | 2009-03-18 11:27:18 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2009-03-18 11:27:18 +0000 |
commit | 223be012f91d45bdf6d820f1bde5323b4f625177 (patch) | |
tree | 39f5471d99ed04e80065955855b63ea3ecbeb19c /binutils/sysdep.h | |
parent | 835e9d570b9f38130ae3bc487d4b95f037868843 (diff) | |
download | binutils-redhat-223be012f91d45bdf6d820f1bde5323b4f625177.tar.gz |
include/
* alloca-conf.h: Revise based on autoconf-2.61, autoconf-2.13
documentation.
bfd/
* elf32-m68hc1x.c: Include alloca-conf.h.
* xsym.c: Likewise.
* elf64-hppa.c: Likewise. Remove existing #if's handling alloca.
* som.c: Likewise.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
binutils/
* sysdep.h: Include alloca-conf.h instead of config.h and remove
existing #if's handling alloca.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
gas/
* as.h: Include alloca-conf.h instead of config.h and remove
existing #if's handling alloca.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
opcodes/
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* openrisc-opc.c: Regenerate.
ld/
* ld.h: Remove alloca handling.
Diffstat (limited to 'binutils/sysdep.h')
-rw-r--r-- | binutils/sysdep.h | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/binutils/sysdep.h b/binutils/sysdep.h index e3d60d92f3..e573637b8c 100644 --- a/binutils/sysdep.h +++ b/binutils/sysdep.h @@ -1,6 +1,6 @@ /* sysdep.h -- handle host dependencies for binutils Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, - 2001, 2002, 2003, 2005, 2006, 2007, 2008 + 2001, 2002, 2003, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. This file is part of GNU Binutils. @@ -22,7 +22,7 @@ #ifndef _BIN_SYSDEP_H #define _BIN_SYSDEP_H -#include "config.h" +#include "alloca-conf.h" #include "ansidecl.h" #include <stdio.h> #include <sys/types.h> @@ -123,23 +123,6 @@ extern int vsnprintf(char *, size_t, const char *, va_list); #define SEEK_END 2 #endif -#if defined(__GNUC__) && !defined(C_ALLOCA) -# undef alloca -# define alloca __builtin_alloca -#else -# if defined(HAVE_ALLOCA_H) && !defined(C_ALLOCA) -# include <alloca.h> -# else -# ifndef alloca /* predefined by HP cc +Olibcalls */ -# if !defined (__STDC__) && !defined (__hpux) -char *alloca (); -# else -void *alloca (); -# endif /* __STDC__, __hpux */ -# endif /* alloca */ -# endif /* HAVE_ALLOCA_H */ -#endif - #ifdef HAVE_LOCALE_H # ifndef ENABLE_NLS /* The Solaris version of locale.h always includes libintl.h. If we have |