binutils-gdb/sim/mn10300
Mike Frysinger ffeb72b44c sim: sim_cpu: invert sim_cpu storage
Currently all ports have to declare sim_cpu themselves in their
sim-main.h and then embed the common sim_cpu_base in it.  This
dynamic makes it impossible to share common object code among
multiple ports because the core data structure is always different.

Let's invert this relationship: common code declares sim_cpu, and
the port uses the new arch_data field for its per-cpu state.

This is the first in a series of changes: it adds a define to select
between the old & new layouts, then converts all the ports that don't
need custom state over to the new layout.  This includes mn10300 that,
while it defines custom fields in its cpu struct, never uses them.
2022-12-20 23:57:38 -05:00
..
am33-2.igen
am33.igen
ChangeLog-2021
dv-mn103cpu.c
dv-mn103int.c
dv-mn103iop.c
dv-mn103ser.c
dv-mn103tim.c
interp.c
local.mk sim: run: move linking into top-level 2022-11-05 20:00:56 +07:00
Makefile.in sim: mn10300: drop subdir configure logic 2022-11-07 23:25:48 +07:00
mn10300_sim.h
mn10300.dc
mn10300.igen
op_utils.c
sim-main.c
sim-main.h sim: sim_cpu: invert sim_cpu storage 2022-12-20 23:57:38 -05:00