summaryrefslogtreecommitdiff
path: root/sim/bpf
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-01-21 21:13:06 -0500
committerMike Frysinger <vapier@gentoo.org>2021-05-17 00:46:32 -0400
commite106fc358c217f8f1e09cfdd383f564178c8f5eb (patch)
tree58cfffc4d30435963e4d9ce7ce7c7ca77635ae63 /sim/bpf
parent85d93de3d8e24b54516ece8ec95ab09e6786e102 (diff)
downloadbinutils-gdb-e106fc358c217f8f1e09cfdd383f564178c8f5eb.tar.gz
sim: cgen: invert sim_state storage for cgen ports
Diffstat (limited to 'sim/bpf')
-rw-r--r--sim/bpf/ChangeLog4
-rw-r--r--sim/bpf/sim-main.h9
2 files changed, 4 insertions, 9 deletions
diff --git a/sim/bpf/ChangeLog b/sim/bpf/ChangeLog
index 69156e6fa1d..f5f57162599 100644
--- a/sim/bpf/ChangeLog
+++ b/sim/bpf/ChangeLog
@@ -1,3 +1,7 @@
+2021-05-17 Mike Frysinger <vapier@gentoo.org>
+
+ * sim-main.h (struct sim_state): Delete.
+
2021-05-16 Mike Frysinger <vapier@gentoo.org>
* bpf-helpers.c, bpf.c, sim-if.c, traps.c: Include defs.h.
diff --git a/sim/bpf/sim-main.h b/sim/bpf/sim-main.h
index 84943d1c885..571c14c67bc 100644
--- a/sim/bpf/sim-main.h
+++ b/sim/bpf/sim-main.h
@@ -39,13 +39,4 @@ struct _sim_cpu
#endif
};
-
-
-struct sim_state
-{
- sim_cpu *cpu[MAX_NR_PROCESSORS];
- CGEN_STATE cgen_state;
- sim_state_base base;
-};
-
#endif /* ! SIM_MAIN_H */