aboutsummaryrefslogtreecommitdiff
path: root/sim/i960
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2001-02-07 01:16:05 +0000
committerDJ Delorie <dj@redhat.com>2001-02-07 01:16:05 +0000
commitddcd33c11d07b4e7e6f592b6ff5b4ec4b0735714 (patch)
tree0fe2f89482d39c9f036e6985fca8b5baf2d7a769 /sim/i960
parent51221c5e5841835fe22468804e3a089e4193ec9f (diff)
downloadgdb-ddcd33c11d07b4e7e6f592b6ff5b4ec4b0735714.zip
gdb-ddcd33c11d07b4e7e6f592b6ff5b4ec4b0735714.tar.gz
gdb-ddcd33c11d07b4e7e6f592b6ff5b4ec4b0735714.tar.bz2
* i960-desc.c: Update all the A macro definitions to the new
stdc-sensitive versions that cgen would have used.
Diffstat (limited to 'sim/i960')
-rw-r--r--sim/i960/ChangeLog5
-rw-r--r--sim/i960/i960-desc.c32
2 files changed, 31 insertions, 6 deletions
diff --git a/sim/i960/ChangeLog b/sim/i960/ChangeLog
index ee3ef57..9b73dfa 100644
--- a/sim/i960/ChangeLog
+++ b/sim/i960/ChangeLog
@@ -1,3 +1,8 @@
+2001-02-06 DJ Delorie <dj@redhat.com>
+
+ * i960-desc.c: Update all the A macro definitions to the new
+ stdc-sensitive versions that cgen would have used.
+
2001-01-12 Frank Ch. Eigler <fche@redhat.com>
* configure: Regenerated with sim_scache fix.
diff --git a/sim/i960/i960-desc.c b/sim/i960/i960-desc.c
index 795b25c..cd0531a 100644
--- a/sim/i960/i960-desc.c
+++ b/sim/i960/i960-desc.c
@@ -2,7 +2,7 @@
THIS FILE IS MACHINE GENERATED WITH CGEN.
-Copyright (C) 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
+Copyright (C) 1996, 1997, 1998, 1999, 2001 Free Software Foundation, Inc.
This file is part of the GNU Binutils and/or GDB, the GNU debugger.
@@ -184,7 +184,11 @@ CGEN_KEYWORD i960_cgen_opval_h_cc =
/* The hardware table. */
-#define A(a) (1 << CONCAT2 (CGEN_HW_,a))
+#if defined (__STDC__) || defined (ALMOST_STDC) || defined (HAVE_STRINGIZE)
+#define A(a) (1 << CGEN_HW_##a)
+#else
+#define A(a) (1 << CGEN_HW_/**/a)
+#endif
const CGEN_HW_ENTRY i960_cgen_hw_table[] =
{
@@ -203,7 +207,11 @@ const CGEN_HW_ENTRY i960_cgen_hw_table[] =
/* The instruction field table. */
-#define A(a) (1 << CONCAT2 (CGEN_IFLD_,a))
+#if defined (__STDC__) || defined (ALMOST_STDC) || defined (HAVE_STRINGIZE)
+#define A(a) (1 << CGEN_IFLD_##a)
+#else
+#define A(a) (1 << CGEN_IFLD_/**/a)
+#endif
const CGEN_IFLD i960_cgen_ifld_table[] =
{
@@ -240,8 +248,16 @@ const CGEN_IFLD i960_cgen_ifld_table[] =
/* The operand table. */
-#define A(a) (1 << CONCAT2 (CGEN_OPERAND_,a))
-#define OPERAND(op) CONCAT2 (I960_OPERAND_,op)
+#if defined (__STDC__) || defined (ALMOST_STDC) || defined (HAVE_STRINGIZE)
+#define A(a) (1 << CGEN_OPERAND_##a)
+#else
+#define A(a) (1 << CGEN_OPERAND_/**/a)
+#endif
+#if defined (__STDC__) || defined (ALMOST_STDC) || defined (HAVE_STRINGIZE)
+#define OPERAND(op) I960_OPERAND_##op
+#else
+#define OPERAND(op) I960_OPERAND_/**/op
+#endif
const CGEN_OPERAND i960_cgen_operand_table[] =
{
@@ -301,8 +317,12 @@ const CGEN_OPERAND i960_cgen_operand_table[] =
#undef A
-#define A(a) (1 << CONCAT2 (CGEN_INSN_,a))
#define OP(field) CGEN_SYNTAX_MAKE_FIELD (OPERAND (field))
+#if defined (__STDC__) || defined (ALMOST_STDC) || defined (HAVE_STRINGIZE)
+#define A(a) (1 << CGEN_INSN_##a)
+#else
+#define A(a) (1 << CGEN_INSN_/**/a)
+#endif
/* The instruction table. */