[commit/obvious] sim/sh64: Build with GCC 4
Corinna Vinschen
vinschen@redhat.com
Mon May 2 15:24:00 GMT 2005
Commited as obvious.
Corinna
* sh-desc.h: Move extern declaration of sh_cgen_ifld_table after
inclusion of cgen.h.
Index: sh-desc.h
===================================================================
RCS file: /cvs/src/src/sim/sh64/sh-desc.h,v
retrieving revision 1.1
diff -u -p -r1.1 sh-desc.h
--- sh-desc.h 1 Feb 2002 11:44:27 -0000 1.1
+++ sh-desc.h 2 May 2005 15:11:01 -0000
@@ -100,10 +100,6 @@ typedef enum isa_attr {
#define MAX_ISAS ((int) ISA_MAX)
#define MAX_MACHS ((int) MACH_MAX)
-/* Ifield support. */
-
-extern const struct cgen_ifld sh_cgen_ifld_table[];
-
/* Ifield attribute indices. */
/* Enum declaration for cgen_ifld attrs. */
@@ -243,6 +239,10 @@ extern CGEN_KEYWORD sh_cgen_opval_xf_nam
extern CGEN_KEYWORD sh_cgen_opval_frc_names;
extern CGEN_KEYWORD sh_cgen_opval_h_fvc;
+/* Ifield support. */
+
+extern const struct cgen_ifld sh_cgen_ifld_table[];
+
--
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat, Inc.
More information about the Gdb-patches
mailing list