From: Mike Frysinger Date: Sun, 27 Jun 2021 03:28:25 +0000 (-0400) Subject: sim: bpf/cris: include cgen-mem in decoders X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e0fd25e4859e1610395b93ff6f05d67c13220cf6;p=binutils-gdb.git sim: bpf/cris: include cgen-mem in decoders These arches use cgen memory functions, so make sure to include the header in the modules. --- diff --git a/sim/bpf/ChangeLog b/sim/bpf/ChangeLog index 039f2c7b4bc..1bc4c84a806 100644 --- a/sim/bpf/ChangeLog +++ b/sim/bpf/ChangeLog @@ -1,3 +1,8 @@ +2021-06-27 Mike Frysinger + + * decode-be.c: Include cgen-mem.h & cgen-ops.h. + * decode-le.c: Likewise. + 2021-06-27 Mike Frysinger * bpf-helpers.c: Include bpf-helpers.h. diff --git a/sim/bpf/decode-be.c b/sim/bpf/decode-be.c index 54ebae17e60..71ca0322f2c 100644 --- a/sim/bpf/decode-be.c +++ b/sim/bpf/decode-be.c @@ -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 diff --git a/sim/bpf/decode-le.c b/sim/bpf/decode-le.c index 613d33d14e7..96f19431360 100644 --- a/sim/bpf/decode-le.c +++ b/sim/bpf/decode-le.c @@ -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 diff --git a/sim/cris/ChangeLog b/sim/cris/ChangeLog index e22e99f5a6c..cb61b0ed847 100644 --- a/sim/cris/ChangeLog +++ b/sim/cris/ChangeLog @@ -1,3 +1,8 @@ +2021-06-27 Mike Frysinger + + * decodev10.c: Include cgen-mem.h. + * decodev32.c: Likewise. + 2021-06-24 Mike Frysinger * cris-sim.h (cris_bmod_handler): Delete. diff --git a/sim/cris/decodev10.c b/sim/cris/decodev10.c index 798572f5d28..6b978d00390 100644 --- a/sim/cris/decodev10.c +++ b/sim/cris/decodev10.c @@ -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. diff --git a/sim/cris/decodev32.c b/sim/cris/decodev32.c index ea576599695..43b0dfb8a40 100644 --- a/sim/cris/decodev32.c +++ b/sim/cris/decodev32.c @@ -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.