diff options
author | Mike Frysinger <vapier@gentoo.org> | 2022-12-23 00:49:09 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2022-12-23 08:32:59 -0500 |
commit | f51d9c6a77ef3c3e24242555babad61f8446e7aa (patch) | |
tree | f73164c1541cee133228c45f9446198999a02a0e /sim/m32r/traps.c | |
parent | 218366690f0e29bf88bd6e73863f75510191406e (diff) | |
download | fsf-binutils-gdb-f51d9c6a77ef3c3e24242555babad61f8446e7aa.zip fsf-binutils-gdb-f51d9c6a77ef3c3e24242555babad61f8446e7aa.tar.gz fsf-binutils-gdb-f51d9c6a77ef3c3e24242555babad61f8446e7aa.tar.bz2 |
sim: m32r: move arch-specific settings to internal header
There's no need for these settings to be in sim-main.h which is shared
with common/ sim code, so move it all out to the existing m32r-sim.h.
Unfortunately, we can't yet drop the m32r-sim.h include from sim-main.h
as many of the generated CGEN files refer only to sim-main.h. We'll
have to improve the CGEN interface before we can make more progress,
but this is at least a minor improvement.
Diffstat (limited to 'sim/m32r/traps.c')
-rw-r--r-- | sim/m32r/traps.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sim/m32r/traps.c b/sim/m32r/traps.c index 12a87b4..b82f974 100644 --- a/sim/m32r/traps.c +++ b/sim/m32r/traps.c @@ -55,6 +55,8 @@ #include <linux/unistd.h> #endif +#include "m32r-sim.h" + #define TRAP_LINUX_SYSCALL 2 #define TRAP_FLUSH_CACHE 12 /* The semantic code invokes this for invalid (unrecognized) instructions. */ |