aboutsummaryrefslogtreecommitdiff
path: root/sim/m32r
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2022-12-23 00:32:29 -0500
committerMike Frysinger <vapier@gentoo.org>2022-12-23 00:52:04 -0500
commit3eaecff5137752dbe01b82efba36aad1d190fe7b (patch)
tree121b8714b7b7b2ca06c0b6c4c9f3a2b9dfe072a1 /sim/m32r
parentd9e217e950b01fac7948d2d326e866a9f2d1dcb8 (diff)
downloadbinutils-3eaecff5137752dbe01b82efba36aad1d190fe7b.zip
binutils-3eaecff5137752dbe01b82efba36aad1d190fe7b.tar.gz
binutils-3eaecff5137752dbe01b82efba36aad1d190fe7b.tar.bz2
sim: cgen: move symcat.h include to where it's used
Move this out of the global sim-main.h and to the few files that actually use functions from it. Only the cgen ports were pulling this, so this makes cgen & non-cgen behave more the same.
Diffstat (limited to 'sim/m32r')
-rw-r--r--sim/m32r/m32r-sim.h2
-rw-r--r--sim/m32r/sim-main.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/sim/m32r/m32r-sim.h b/sim/m32r/m32r-sim.h
index 0c5103b..fc41c21 100644
--- a/sim/m32r/m32r-sim.h
+++ b/sim/m32r/m32r-sim.h
@@ -20,6 +20,8 @@
#ifndef M32R_SIM_H
#define M32R_SIM_H
+#include "symcat.h"
+
/* GDB register numbers. */
#define PSW_REGNUM 16
#define CBR_REGNUM 17
diff --git a/sim/m32r/sim-main.h b/sim/m32r/sim-main.h
index 81a6c68..a5a745d 100644
--- a/sim/m32r/sim-main.h
+++ b/sim/m32r/sim-main.h
@@ -8,7 +8,6 @@
one of -scache/-pbb. */
#define WITH_SCACHE_PBB 1
-#include "symcat.h"
#include "sim-basics.h"
#include "m32r-desc.h"
#include "m32r-opc.h"