* 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.
This commit is contained in:
Alan Modra 2009-03-18 11:47:18 +00:00
parent 8d25cc3de0
commit 3889c459bb
6 changed files with 12 additions and 15 deletions

View File

@ -1,5 +1,6 @@
2009-03-18 Alan Modra <amodra@bigpond.net.au> 2009-03-18 Alan Modra <amodra@bigpond.net.au>
* vms-hdr.c: Don't include alloca.h.
* elf32-m68hc1x.c: Include alloca-conf.h. * elf32-m68hc1x.c: Include alloca-conf.h.
* xsym.c: Likewise. * xsym.c: Likewise.
* elf64-hppa.c: Likewise. Remove existing #if's handling alloca. * elf64-hppa.c: Likewise. Remove existing #if's handling alloca.

View File

@ -52,10 +52,6 @@
#include "vms.h" #include "vms.h"
#ifdef HAVE_ALLOCA_H
#include <alloca.h>
#endif
static struct module *new_module (bfd *); static struct module *new_module (bfd *);
static void parse_module static void parse_module
(bfd *, struct module *, unsigned char *, unsigned int); (bfd *, struct module *, unsigned char *, unsigned int);

View File

@ -1,5 +1,6 @@
2009-03-18 Alan Modra <amodra@bigpond.net.au> 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.am: Run "make dep-am".
* Makefile.in: Regenerate. * Makefile.in: Regenerate.
* openrisc-opc.c: Regenerate. * openrisc-opc.c: Regenerate.

View 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 \ 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)/libiberty.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/cgen.h \
$(INCDIR)/opcode/cgen-bitset.h $(INCDIR)/opcode/cgen-bitset.h
cgen-opc.lo: cgen-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \ cgen-opc.lo: cgen-opc.c $(INCDIR)/alloca-conf.h config.h \
$(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h $(BFD_H) \ sysdep.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
$(INCDIR)/symcat.h $(INCDIR)/opcode/cgen.h $(INCDIR)/opcode/cgen-bitset.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) \ cr16-dis.lo: cr16-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
$(INCDIR)/ansidecl.h $(INCDIR)/symcat.h sysdep.h config.h \ $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h sysdep.h config.h \
$(INCDIR)/opcode/cr16.h $(INCDIR)/libiberty.h $(INCDIR)/opcode/cr16.h $(INCDIR)/libiberty.h

View 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 \ 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)/libiberty.h $(BFD_H) $(INCDIR)/symcat.h $(INCDIR)/opcode/cgen.h \
$(INCDIR)/opcode/cgen-bitset.h $(INCDIR)/opcode/cgen-bitset.h
cgen-opc.lo: cgen-opc.c sysdep.h config.h $(INCDIR)/ansidecl.h \ cgen-opc.lo: cgen-opc.c $(INCDIR)/alloca-conf.h config.h \
$(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h $(BFD_H) \ sysdep.h $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
$(INCDIR)/symcat.h $(INCDIR)/opcode/cgen.h $(INCDIR)/opcode/cgen-bitset.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) \ cr16-dis.lo: cr16-dis.c $(INCDIR)/dis-asm.h $(BFD_H) \
$(INCDIR)/ansidecl.h $(INCDIR)/symcat.h sysdep.h config.h \ $(INCDIR)/ansidecl.h $(INCDIR)/symcat.h sysdep.h config.h \
$(INCDIR)/opcode/cr16.h $(INCDIR)/libiberty.h $(INCDIR)/opcode/cr16.h $(INCDIR)/libiberty.h

View File

@ -1,6 +1,6 @@
/* CGEN generic opcode support. /* 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. Free Software Foundation, Inc.
This file is part of libopcodes. This file is part of libopcodes.
@ -19,6 +19,7 @@
with this program; if not, write to the Free Software Foundation, Inc., with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
#include "alloca-conf.h"
#include "sysdep.h" #include "sysdep.h"
#include <stdio.h> #include <stdio.h>
#include "ansidecl.h" #include "ansidecl.h"
@ -28,10 +29,6 @@
#include "symcat.h" #include "symcat.h"
#include "opcode/cgen.h" #include "opcode/cgen.h"
#ifdef HAVE_ALLOCA_H
#include <alloca.h>
#endif
static unsigned int hash_keyword_name static unsigned int hash_keyword_name
(const CGEN_KEYWORD *, const char *, int); (const CGEN_KEYWORD *, const char *, int);
static unsigned int hash_keyword_value static unsigned int hash_keyword_value