summaryrefslogtreecommitdiff
path: root/sim/aclocal.m4
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-06-28 22:39:16 -0400
committerMike Frysinger <vapier@gentoo.org>2021-06-30 13:33:18 -0400
commitb79efe264f9d2d4fc5b0491acd3258063b309723 (patch)
tree75808110808964a8813af7df9a5e8cf03b547dc7 /sim/aclocal.m4
parente7954ef5e5ed90fb7d28c013518f4c2e6bcd20a1 (diff)
downloadbinutils-gdb-b79efe264f9d2d4fc5b0491acd3258063b309723.tar.gz
sim: unify scache settings
The cgen scache module is enabled by every cgen port, and with the same default value of 16k (which matches the common default value). Let's pull this option out of the individual ports (via CPPFLAGS) and into the common code (via config.h). The object itself is compiled only for cgen ports atm, so that part doesn't change. The scache code is initialized dynamically via the modules.c logic. That's why the profile code needs an additional CGEN_ARCH check. This will allow us to collapse arch configure files more. Merging the source files will require more future work, but integrating the cgen & non-cgen worlds itself will take a lot.
Diffstat (limited to 'sim/aclocal.m4')
-rw-r--r--sim/aclocal.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/sim/aclocal.m4 b/sim/aclocal.m4
index a2b2bae447b..88c71d93e53 100644
--- a/sim/aclocal.m4
+++ b/sim/aclocal.m4
@@ -1189,6 +1189,7 @@ m4_include([m4/sim_ac_option_environment.m4])
m4_include([m4/sim_ac_option_hardware.m4])
m4_include([m4/sim_ac_option_inline.m4])
m4_include([m4/sim_ac_option_profile.m4])
+m4_include([m4/sim_ac_option_scache.m4])
m4_include([m4/sim_ac_option_stdio.m4])
m4_include([m4/sim_ac_option_trace.m4])
m4_include([m4/sim_ac_option_warnings.m4])