diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-06-26 23:28:25 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-06-27 10:54:06 -0400 |
commit | e0fd25e4859e1610395b93ff6f05d67c13220cf6 (patch) | |
tree | 3d5e3a67ccf20ba2c81bff3448c3e879f4f7cb3e /sim | |
parent | 76f11310dfe5815ac6045fcd76eb3bbdc85678ae (diff) | |
download | fsf-binutils-gdb-e0fd25e4859e1610395b93ff6f05d67c13220cf6.zip fsf-binutils-gdb-e0fd25e4859e1610395b93ff6f05d67c13220cf6.tar.gz fsf-binutils-gdb-e0fd25e4859e1610395b93ff6f05d67c13220cf6.tar.bz2 |
sim: bpf/cris: include cgen-mem in decoders
These arches use cgen memory functions, so make sure to include the
header in the modules.
Diffstat (limited to 'sim')
-rw-r--r-- | sim/bpf/ChangeLog | 5 | ||||
-rw-r--r-- | sim/bpf/decode-be.c | 2 | ||||
-rw-r--r-- | sim/bpf/decode-le.c | 2 | ||||
-rw-r--r-- | sim/cris/ChangeLog | 5 | ||||
-rw-r--r-- | sim/cris/decodev10.c | 1 | ||||
-rw-r--r-- | sim/cris/decodev32.c | 1 |
6 files changed, 16 insertions, 0 deletions
diff --git a/sim/bpf/ChangeLog b/sim/bpf/ChangeLog index 039f2c7..1bc4c84 100644 --- a/sim/bpf/ChangeLog +++ b/sim/bpf/ChangeLog @@ -1,5 +1,10 @@ 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. * bpf-helpers.h (bpf_trace_printk): Change return type to int. (bpfbf_breakpoint): New prototype. diff --git a/sim/bpf/decode-be.c b/sim/bpf/decode-be.c index 54ebae1..71ca032 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 613d33d..96f1943 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 e22e99f..cb61b0e 100644 --- a/sim/cris/ChangeLog +++ b/sim/cris/ChangeLog @@ -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. diff --git a/sim/cris/decodev10.c b/sim/cris/decodev10.c index 798572f..6b978d0 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 ea57659..43b0dfb 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. |