]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
bfd/
authorAlan Modra <amodra@gmail.com>
Wed, 18 Mar 2009 11:47:18 +0000 (11:47 +0000)
committerAlan Modra <amodra@gmail.com>
Wed, 18 Mar 2009 11:47:18 +0000 (11:47 +0000)
* vms-hdr.c: Don't include alloca.h.
opcodes/
* cgen-opc.c: Include alloca-conf.h rather than alloca.h.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.

bfd/ChangeLog
bfd/vms-hdr.c
opcodes/ChangeLog
opcodes/Makefile.am
opcodes/Makefile.in
opcodes/cgen-opc.c

index c2dd2079dda012fb60b67601404d992a15973a44..341eae1a2b291bfc1866dce5935394b6247942c2 100644 (file)
@@ -1,5 +1,6 @@
 2009-03-18  Alan Modra  <amodra@bigpond.net.au>
 
+       * vms-hdr.c: Don't include alloca.h.
        * elf32-m68hc1x.c: Include alloca-conf.h.
        * xsym.c: Likewise.
        * elf64-hppa.c: Likewise.  Remove existing #if's handling alloca.
index 6ad84ddd2a539beddaa001db79d710a4f0632289..8c10df6222fb1344878b2049fd0dffe4cad657ee 100644 (file)
 
 #include "vms.h"
 
-#ifdef HAVE_ALLOCA_H
-#include <alloca.h>
-#endif
-
 static struct module *new_module (bfd *);
 static void parse_module
   (bfd *, struct module *, unsigned char *, unsigned int);
index 8a8a7869e498716a86ed824512a5e4c7482a218a..15ea3919e84640effda5deaf4b2855e5ccf9c5c2 100644 (file)
@@ -1,5 +1,6 @@
 2009-03-18  Alan Modra  <amodra@bigpond.net.au>
 
+       * cgen-opc.c: Include alloca-conf.h rather than alloca.h.
        * Makefile.am: Run "make dep-am".
        * Makefile.in: Regenerate.
        * openrisc-opc.c: Regenerate.
index a7e9a04834f8ca17626cf7c0acadb7a4c6a6b451..f6b575019d902c5db62bcacf84369830e554baf4 100644 (file)
@@ -715,9 +715,10 @@ cgen-bitset.lo: cgen-bitset.c $(INCDIR)/libiberty.h \
 cgen-dis.lo: cgen-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
   $(INCDIR)/libiberty.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/cgen.h \
   $(INCDIR)/opcode/cgen-bitset.h
-cgen-opc.lo: cgen-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
-  $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h $(BFD_H) \
-  $(INCDIR)/symcat.h $(INCDIR)/opcode/cgen.h $(INCDIR)/opcode/cgen-bitset.h
+cgen-opc.lo: cgen-opc.c $(INCDIR)/alloca-conf.h config.h \
+  sysdep.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
+  $(INCDIR)/safe-ctype.h $(BFD_H) $(INCDIR)/symcat.h \
+  $(INCDIR)/opcode/cgen.h $(INCDIR)/opcode/cgen-bitset.h
 cr16-dis.lo: cr16-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
   $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h sysdep.h config.h \
   $(INCDIR)/opcode/cr16.h $(INCDIR)/libiberty.h
index 578b38c04e24bd512c315e8afce3918d64871dc5..afbaf2d1f38a2e6f029161cd54560cc8c84b4be9 100644 (file)
@@ -1280,9 +1280,10 @@ cgen-bitset.lo: cgen-bitset.c $(INCDIR)/libiberty.h \
 cgen-dis.lo: cgen-dis.c sysdep.h config.h $(INCDIR)/ansidecl.h \
   $(INCDIR)/libiberty.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/cgen.h \
   $(INCDIR)/opcode/cgen-bitset.h
-cgen-opc.lo: cgen-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \
-  $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h $(BFD_H) \
-  $(INCDIR)/symcat.h $(INCDIR)/opcode/cgen.h $(INCDIR)/opcode/cgen-bitset.h
+cgen-opc.lo: cgen-opc.c $(INCDIR)/alloca-conf.h config.h \
+  sysdep.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
+  $(INCDIR)/safe-ctype.h $(BFD_H) $(INCDIR)/symcat.h \
+  $(INCDIR)/opcode/cgen.h $(INCDIR)/opcode/cgen-bitset.h
 cr16-dis.lo: cr16-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
   $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h sysdep.h config.h \
   $(INCDIR)/opcode/cr16.h $(INCDIR)/libiberty.h
index 9c1e302cb5c0ff94c07ab77d16135235a3d9df1b..7d52284631991fd53f53d8e565edff2857696cc9 100644 (file)
@@ -1,6 +1,6 @@
 /* CGEN generic opcode support.
 
-   Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2005, 2007
+   Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2005, 2007, 2009
    Free Software Foundation, Inc.
 
    This file is part of libopcodes.
@@ -19,6 +19,7 @@
    with this program; if not, write to the Free Software Foundation, Inc.,
    51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.  */
 
+#include "alloca-conf.h"
 #include "sysdep.h"
 #include <stdio.h>
 #include "ansidecl.h"
 #include "symcat.h"
 #include "opcode/cgen.h"
 
-#ifdef HAVE_ALLOCA_H
-#include <alloca.h>
-#endif
-
 static unsigned int hash_keyword_name
   (const CGEN_KEYWORD *, const char *, int);
 static unsigned int hash_keyword_value