From 764caf4d1af19996a0d057ec973d4e0ee0f8050f Mon Sep 17 00:00:00 2001 From: Ralf Wildenhues Date: Tue, 25 Aug 2009 03:13:44 +0000 Subject: Build cleanups in opcodes: cross-compilation and generators. opcodes/: * Makefile.am (SUBDIRS): Build '.' before 'po'. (COMPILE_FOR_BUILD, LINK_FOR_BUILD, BUILD_LIBIBERTY) (MOSTLYCLEANFILES, MAINTAINERCLEANFILES): New variables. (i386-gen$(EXEEXT_FOR_BUILD)): Renamed from i386-gen, rewrite using *BUILD variables, depend upon $(BUILD_LIBIBERTY). (i386-gen.o): New rule. ($(srcdir)/i386-init.h): Adjust. (i386-opc.lo): Depend on $(srcdir)/i386-tbl.h. (ia64-gen$(EXEEXT_FOR_BUILD)): Rename from ia64-gen, adjust likewise. (ia64-gen.o): New rule. (ia64_asmtab_deps): New variable. ($(srcdir)/ia64-asmtab.c): Use it; adjust likewise. (ia64-opc.lo): Depend on $(srcdir)/ia64-asmtab.c. (s390-mkopc$(EXEEXT_FOR_BUILD)): Rename from s390-mkopc, adjust likewise. (s390-opc.tab): Adjust. (z8kgen$(EXEEXT_FOR_BUILD), z8kgen.o, $(srcdir)/z8k-opc.h): New rules. (z8k-dis.lo): Depend on $(srcdir)/z8k-opc.h. * Makefile.in: Regenerate. * z8kgen.c (gas): Avoid '/*' in comment. * z8k-opc.h (func): Regenerate. --- opcodes/z8k-opc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'opcodes/z8k-opc.h') diff --git a/opcodes/z8k-opc.h b/opcodes/z8k-opc.h index ba05fbea30..837dd39c13 100644 --- a/opcodes/z8k-opc.h +++ b/opcodes/z8k-opc.h @@ -1,7 +1,7 @@ /* DO NOT EDIT! -*- buffer-read-only: t -*- This file is automatically generated by z8kgen. */ -/* Copyright 2007 Free Software Foundation, Inc. +/* Copyright 2007, 2009 Free Software Foundation, Inc. This file is part of the GNU opcodes library. @@ -289,7 +289,7 @@ typedef struct { #endif const char *name; unsigned char opcode; - void (*func) PARAMS ((void)); + void (*func) (void); unsigned int arg_info[4]; unsigned int byte_info[10]; int noperands; -- cgit v1.2.1