aboutsummaryrefslogtreecommitdiff
path: root/sim/frv
diff options
context:
space:
mode:
Diffstat (limited to 'sim/frv')
-rw-r--r--sim/frv/ChangeLog5
-rw-r--r--sim/frv/Makefile.in1
-rw-r--r--sim/frv/sim-main.h5
3 files changed, 5 insertions, 6 deletions
diff --git a/sim/frv/ChangeLog b/sim/frv/ChangeLog
index 8e7e995..05ae18a 100644
--- a/sim/frv/ChangeLog
+++ b/sim/frv/ChangeLog
@@ -1,5 +1,10 @@
2015-04-15 Mike Frysinger <vapier@gentoo.org>
+ * Makefile.in (SIM_OBJS): Delete sim-cpu.o.
+ * sim-main.h (STATE_CPU): Delete.
+
+2015-04-15 Mike Frysinger <vapier@gentoo.org>
+
* sim-main.h (struct sim_state): Change cpu to an array of pointers.
(STATE_CPU): Handle WITH_SMP.
diff --git a/sim/frv/Makefile.in b/sim/frv/Makefile.in
index 415d2ab..6dc5616 100644
--- a/sim/frv/Makefile.in
+++ b/sim/frv/Makefile.in
@@ -21,7 +21,6 @@ FRV_OBJS = frv.o cpu.o decode.o sem.o model.o mloop.o cgen-par.o
SIM_OBJS = \
$(SIM_NEW_COMMON_OBJS) \
- sim-cpu.o \
sim-hload.o \
sim-model.o \
sim-reg.o \
diff --git a/sim/frv/sim-main.h b/sim/frv/sim-main.h
index e7dc1a2..1fd60b5 100644
--- a/sim/frv/sim-main.h
+++ b/sim/frv/sim-main.h
@@ -119,11 +119,6 @@ struct _sim_cpu {
struct sim_state {
sim_cpu *cpu[MAX_NR_PROCESSORS];
-#if (WITH_SMP)
-#define STATE_CPU(sd,n) ((sd)->cpu[n])
-#else
-#define STATE_CPU(sd,n) ((sd)->cpu[0])
-#endif
CGEN_STATE cgen_state;