]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
sim: bpf/cris: include cgen-mem in decoders
authorMike Frysinger <vapier@gentoo.org>
Sun, 27 Jun 2021 03:28:25 +0000 (23:28 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sun, 27 Jun 2021 14:54:06 +0000 (10:54 -0400)
These arches use cgen memory functions, so make sure to include the
header in the modules.

sim/bpf/ChangeLog
sim/bpf/decode-be.c
sim/bpf/decode-le.c
sim/cris/ChangeLog
sim/cris/decodev10.c
sim/cris/decodev32.c

index 039f2c7b4bc716491b078e93b02823c8c8ba1376..1bc4c84a806ba836c8a79edaa09eafc010a6cdf5 100644 (file)
@@ -1,3 +1,8 @@
+2021-06-27  Mike Frysinger  <vapier@gentoo.org>
+
+       * decode-be.c: Include cgen-mem.h & cgen-ops.h.
+       * decode-le.c: Likewise.
+
 2021-06-27  Mike Frysinger  <vapier@gentoo.org>
 
        * bpf-helpers.c: Include bpf-helpers.h.
index 54ebae17e60f9f48254116f342764e67a0301d2c..71ca0322f2c3130c3a15dcbbf1f4511b67542193 100644 (file)
@@ -27,6 +27,8 @@ This file is part of the GNU simulators.
 
 #include "sim-main.h"
 #include "sim-assert.h"
+#include "cgen-mem.h"
+#include "cgen-ops.h"
 
 /* The instruction descriptor array.
    This is computed at runtime.  Space for it is not malloc'd to save a
index 613d33d14e7123e88dc22abce77b4278d064ed46..96f19431360536324fdff0872772f15668575d70 100644 (file)
@@ -27,6 +27,8 @@ This file is part of the GNU simulators.
 
 #include "sim-main.h"
 #include "sim-assert.h"
+#include "cgen-mem.h"
+#include "cgen-ops.h"
 
 /* The instruction descriptor array.
    This is computed at runtime.  Space for it is not malloc'd to save a
index e22e99f5a6cd397a1e6574e715e3d0d31585d537..cb61b0ed847d12ac10b16be1ae38a1a55bf9a05c 100644 (file)
@@ -1,3 +1,8 @@
+2021-06-27  Mike Frysinger  <vapier@gentoo.org>
+
+       * decodev10.c: Include cgen-mem.h.
+       * decodev32.c: Likewise.
+
 2021-06-24  Mike Frysinger  <vapier@gentoo.org>
 
        * cris-sim.h (cris_bmod_handler): Delete.
index 798572f5d28a313ce11d9709bf96af977866dfc3..6b978d00390c0645458fe3271cdd5edd8caa502e 100644 (file)
@@ -26,6 +26,7 @@ This file is part of the GNU simulators.
 
 #include "sim-main.h"
 #include "sim-assert.h"
+#include "cgen-mem.h"
 #include "cgen-ops.h"
 
 /* The instruction descriptor array.
index ea5765996956bd0dd349a416d43aaf14b4417e86..43b0dfb8a408fb5f9fa8f701a90010c647e252d6 100644 (file)
@@ -26,6 +26,7 @@ This file is part of the GNU simulators.
 
 #include "sim-main.h"
 #include "sim-assert.h"
+#include "cgen-mem.h"
 #include "cgen-ops.h"
 
 /* The instruction descriptor array.