aboutsummaryrefslogtreecommitdiff
path: root/sim/d10v
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-06-13 23:16:32 -0400
committerMike Frysinger <vapier@gentoo.org>2021-06-18 00:50:14 -0400
commit1fef66b0dcc09c9114100e782ea54594550e8fb7 (patch)
tree4c7e4fe60f287d3db75997d7affb763c0e77608f /sim/d10v
parent7039b291607e4d890679cb3fe401d37228992213 (diff)
downloadbinutils-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/d10v')
-rw-r--r--sim/d10v/ChangeLog5
-rw-r--r--sim/d10v/interp.c1
-rw-r--r--sim/d10v/simops.c1
3 files changed, 7 insertions, 0 deletions
diff --git a/sim/d10v/ChangeLog b/sim/d10v/ChangeLog
index d588176..429b4d0 100644
--- a/sim/d10v/ChangeLog
+++ b/sim/d10v/ChangeLog
@@ -1,3 +1,8 @@
+2021-06-18 Mike Frysinger <vapier@gentoo.org>
+
+ * interp.c: Include sim-signal.h.
+ * simops.c: Likewise.
+
2021-06-17 Mike Frysinger <vapier@gentoo.org>
* configure.ac: Delete SIM_AC_OPTION_ENDIAN call.
diff --git a/sim/d10v/interp.c b/sim/d10v/interp.c
index c0cdc03..c48e39a 100644
--- a/sim/d10v/interp.c
+++ b/sim/d10v/interp.c
@@ -9,6 +9,7 @@
#include "sim-main.h"
#include "sim-options.h"
+#include "sim-signal.h"
#include "gdb/sim-d10v.h"
#include "gdb/signals.h"
diff --git a/sim/d10v/simops.c b/sim/d10v/simops.c
index af725ad..64c888c 100644
--- a/sim/d10v/simops.c
+++ b/sim/d10v/simops.c
@@ -11,6 +11,7 @@
#include <string.h>
#include "sim-main.h"
+#include "sim-signal.h"
#include "simops.h"
#include "targ-vals.h"