summaryrefslogtreecommitdiff
path: root/sim/frv/cpu.c
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2005-10-28 19:58:11 +0000
committerDave Brolley <brolley@redhat.com>2005-10-28 19:58:11 +0000
commitfd463dec34efd81c390b381c5f6a4a39b43ad7e5 (patch)
tree9405bc510386018ea5c3171c23659f87c517d91a /sim/frv/cpu.c
parent6b60be3b28de87d9a4d940ac0afaf6409849816f (diff)
downloadgdb-fd463dec34efd81c390b381c5f6a4a39b43ad7e5.tar.gz
2005-10-28 Dave Brolley <brolley@redhat.com>
* cpu.c,cpu.h,decode.c,decode.h,model.c,sem.c: Regenerate. Contribute the following changes: 2003-09-29 Dave Brolley <brolley@redhat.com> * frv-sim.h: Use CGEN_ATTR_VALUE_ENUM_TYPE in place of CGEN_ATTR_VALUE_TYPE. * mloop.in: Ditto. * pipeline.c: Ditto. * traps.c: Ditto.
Diffstat (limited to 'sim/frv/cpu.c')
-rw-r--r--sim/frv/cpu.c20
1 files changed, 18 insertions, 2 deletions
diff --git a/sim/frv/cpu.c b/sim/frv/cpu.c
index 111ec333b60..b0de504af65 100644
--- a/sim/frv/cpu.c
+++ b/sim/frv/cpu.c
@@ -2,7 +2,7 @@
THIS FILE IS MACHINE GENERATED WITH CGEN.
-Copyright 1996-2004 Free Software Foundation, Inc.
+Copyright 1996-2005 Free Software Foundation, Inc.
This file is part of the GNU simulators.
@@ -18,7 +18,7 @@ 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.
+51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
*/
@@ -28,6 +28,22 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "sim-main.h"
#include "cgen-ops.h"
+/* Get the value of h-reloc-ann. */
+
+BI
+frvbf_h_reloc_ann_get (SIM_CPU *current_cpu)
+{
+ return CPU (h_reloc_ann);
+}
+
+/* Set a value for h-reloc-ann. */
+
+void
+frvbf_h_reloc_ann_set (SIM_CPU *current_cpu, BI newval)
+{
+ CPU (h_reloc_ann) = newval;
+}
+
/* Get the value of h-pc. */
USI