aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2009-03-18 11:27:18 +0000
committerAlan Modra <amodra@gmail.com>2009-03-18 11:27:18 +0000
commit8d25cc3de0a2ca236b8a4a676535d05d2084c149 (patch)
tree63598b7fb4a9e31f97962dd7e21e8743664078dc /ld
parent5b1ba0e54600876c027f4a35362f37f8fae41219 (diff)
downloadgdb-8d25cc3de0a2ca236b8a4a676535d05d2084c149.zip
gdb-8d25cc3de0a2ca236b8a4a676535d05d2084c149.tar.gz
gdb-8d25cc3de0a2ca236b8a4a676535d05d2084c149.tar.bz2
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 'ld')
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/ld.h20
2 files changed, 5 insertions, 19 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index c9157f2..3af7ecf 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,7 @@
+2009-03-18 Alan Modra <amodra@bigpond.net.au>
+
+ * ld.h: Remove alloca handling.
+
2009-03-17 Alan Modra <amodra@bigpond.net.au>
* emultempl/spu_icache.S: Add new entry to dummy handler.
diff --git a/ld/ld.h b/ld/ld.h
index 3de92cd..018c080 100644
--- a/ld/ld.h
+++ b/ld/ld.h
@@ -1,6 +1,6 @@
/* ld.h -- general linker header file
Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
- 2001, 2002, 2003, 2004, 2005, 2006, 2007
+ 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
Free Software Foundation, Inc.
This file is part of the GNU Binutils.
@@ -32,24 +32,6 @@
#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