summaryrefslogtreecommitdiff
path: root/sim/cris/arch.c
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2005-01-28 04:29:00 +0000
committerHans-Peter Nilsson <hp@axis.com>2005-01-28 04:29:00 +0000
commitf6bcefefe817b20b493081511cdeb8f87052bd41 (patch)
tree925f09bdedb36933c713803d9d0824c5b523c5ed /sim/cris/arch.c
parent97f669eda91b587c590bb5d0bb185d63c126d7fe (diff)
downloadbinutils-gdb-f6bcefefe817b20b493081511cdeb8f87052bd41.tar.gz
* cris: New directory, simulator for Axis Communications CRIS
including CRIS v32, CGEN-based. * configure.ac: Add corresponding configury. * configure: Regenerate.
Diffstat (limited to 'sim/cris/arch.c')
-rw-r--r--sim/cris/arch.c38
1 files changed, 38 insertions, 0 deletions
diff --git a/sim/cris/arch.c b/sim/cris/arch.c
new file mode 100644
index 00000000000..e57676146a7
--- /dev/null
+++ b/sim/cris/arch.c
@@ -0,0 +1,38 @@
+/* Simulator support for cris.
+
+THIS FILE IS MACHINE GENERATED WITH CGEN.
+
+Copyright 1996-2004 Free Software Foundation, Inc.
+
+This file is part of the GNU simulators.
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License along
+with this program; if not, write to the Free Software Foundation, Inc.,
+59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+*/
+
+#include "sim-main.h"
+#include "bfd.h"
+
+const MACH *sim_machs[] =
+{
+#ifdef HAVE_CPU_CRISV10F
+ & crisv10_mach,
+#endif
+#ifdef HAVE_CPU_CRISV32F
+ & crisv32_mach,
+#endif
+ 0
+};
+