diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-06-13 23:16:32 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-06-18 00:50:14 -0400 |
commit | 1fef66b0dcc09c9114100e782ea54594550e8fb7 (patch) | |
tree | 4c7e4fe60f287d3db75997d7affb763c0e77608f /sim/frv | |
parent | 7039b291607e4d890679cb3fe401d37228992213 (diff) | |
download | binutils-1fef66b0dcc09c9114100e782ea54594550e8fb7.zip binutils-1fef66b0dcc09c9114100e782ea54594550e8fb7.tar.gz binutils-1fef66b0dcc09c9114100e782ea54594550e8fb7.tar.bz2 |
sim: split sim-signal.h include out
The sim-basics.h is too big and includes too many things. This leads
to some arch's sim-main.h having circular loop issues with defs, and
makes it hard to separate out common objects from arch-specific defs.
By splitting up sim-basics.h and killing off sim-main.h, it'll make
it easier to separate out the two.
Diffstat (limited to 'sim/frv')
-rw-r--r-- | sim/frv/ChangeLog | 5 | ||||
-rw-r--r-- | sim/frv/interrupts.c | 1 | ||||
-rw-r--r-- | sim/frv/traps.c | 1 |
3 files changed, 7 insertions, 0 deletions
diff --git a/sim/frv/ChangeLog b/sim/frv/ChangeLog index 264d33e..16bbf48 100644 --- a/sim/frv/ChangeLog +++ b/sim/frv/ChangeLog @@ -1,3 +1,8 @@ +2021-06-18 Mike Frysinger <vapier@gentoo.org> + + * interrupts.c: Include sim-signal.h. + * traps.c: Likewise. + 2021-06-17 Mike Frysinger <vapier@gentoo.org> * configure.ac: Delete SIM_AC_OPTION_ENDIAN call. diff --git a/sim/frv/interrupts.c b/sim/frv/interrupts.c index a657c68..99b27cf 100644 --- a/sim/frv/interrupts.c +++ b/sim/frv/interrupts.c @@ -24,6 +24,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ #define WANT_CPU_FRVBF #include "sim-main.h" +#include "sim-signal.h" #include "bfd.h" #include <stdlib.h> diff --git a/sim/frv/traps.c b/sim/frv/traps.c index 91b424f..46cb8d9 100644 --- a/sim/frv/traps.c +++ b/sim/frv/traps.c @@ -28,6 +28,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ #include "cgen-engine.h" #include "cgen-par.h" #include "sim-fpu.h" +#include "sim-signal.h" #include "sim/callback.h" #include "bfd.h" |