binutils-gdb/sim/cr16
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
..
ChangeLog-2021 sim: rename ChangeLog files to ChangeLog-2021 2021-08-17 20:27:36 -04:00
cr16_sim.h sim: cr16: migrate to standard uintXX_t types 2022-01-06 01:17:37 -05:00
gencode.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
interp.c sim: move register headers into sim/ namespace [PR sim/29869] 2022-12-20 21:06:32 -05:00
local.mk sim: run: move linking into top-level 2022-11-05 20:00:56 +07:00
Makefile.in sim: build: remove various obsolete generation dep variables 2022-11-04 13:58:42 +07:00
sim-main.h sim: sim_cpu: invert sim_cpu storage 2022-12-20 23:57:38 -05:00
simops.c sim: cr16: migrate to standard uintXX_t types 2022-01-06 01:17:37 -05:00