diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-04-18 04:19:56 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-04-18 04:31:36 -0400 |
commit | 20bca71d82598a015de0991196e45f0b5f7ead81 (patch) | |
tree | 430360c5efe05979bc42a916dd483aae35c30eb6 /sim/v850 | |
parent | sim: unify sim_cia definition (diff) | |
download | binutils-gdb-20bca71d82598a015de0991196e45f0b5f7ead81.tar.gz binutils-gdb-20bca71d82598a015de0991196e45f0b5f7ead81.tar.bz2 binutils-gdb-20bca71d82598a015de0991196e45f0b5f7ead81.zip |
sim: unify SIM_CPU definition
Since every target typedefs this the same way, move it to the common code.
We have to leave Blackfin behind here for now because of inter-dependencies
on types and headers: sim-base.h includes sim-model.h which needs types in
machs.h which needs types in bfim-sim.h which needs SIM_CPU.
Diffstat (limited to 'sim/v850')
-rw-r--r-- | sim/v850/ChangeLog | 4 | ||||
-rw-r--r-- | sim/v850/sim-main.h | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/sim/v850/ChangeLog b/sim/v850/ChangeLog index 6b815d61961..f47e33f8b27 100644 --- a/sim/v850/ChangeLog +++ b/sim/v850/ChangeLog @@ -1,5 +1,9 @@ 2015-04-18 Mike Frysinger <vapier@gentoo.org> + * sim-main.h (SIM_CPU): Delete. + +2015-04-18 Mike Frysinger <vapier@gentoo.org> + * sim-main.h (sim_cia): Delete. 2015-04-17 Mike Frysinger <vapier@gentoo.org> diff --git a/sim/v850/sim-main.h b/sim/v850/sim-main.h index 16cbd9707ae..5127d280102 100644 --- a/sim/v850/sim-main.h +++ b/sim/v850/sim-main.h @@ -16,9 +16,6 @@ #include "sim-basics.h" #include "sim-signal.h" #include "sim-fpu.h" - -typedef struct _sim_cpu SIM_CPU; - #include "sim-base.h" #include "simops.h" |