]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - sim/mn10300/mn10300-sim.h
sim: mn10300: standardize the arch-specific settings a little
authorMike Frysinger <vapier@gentoo.org>
Fri, 23 Dec 2022 04:47:50 +0000 (23:47 -0500)
committerMike Frysinger <vapier@gentoo.org>
Fri, 23 Dec 2022 13:32:58 +0000 (08:32 -0500)
commit627bdb63949c1766d03ae16536bf9ea15e252c11
tree000185d67ad15af275d07cd635f193cd93555857
parent7790fabeb76850df5ffa36577a8a5cf40541fc37
sim: mn10300: standardize the arch-specific settings a little

Rename mn10300_sim.h to mn10300-sim.h to match other ports, and move most
of the arch-specific content out of sim-main.h to it.  This isn't a big
win though as we still have to include the header in sim-main.h due to the
igen interface: it hardcodes including sim-main.h in its files.  So until
we can fix that, we have to keep bleeding these settings into the common
codes.

Also take the opportunity to purge a lot of unused headers from these.
The local modules should already include the right headers, so there's
no need to force everyone to pull them in.  A lot of this is a hold over
from the pre-igen days of this port.
sim/mn10300/interp.c
sim/mn10300/mn10300-sim.h [moved from sim/mn10300/mn10300_sim.h with 94% similarity]
sim/mn10300/op_utils.c
sim/mn10300/sim-main.h