From f0c1b768b4f42c631547643ec01b020108c0ef8e Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 25 Dec 2015 02:34:40 -0500 Subject: sim: move WITH_SCACHE_PBB to sim-main.h This helps us break up tconfig.h more. Any file using this define should be pulling in sim-main.h already, so things should continue working. --- sim/sh64/ChangeLog | 5 +++++ sim/sh64/sim-main.h | 5 +++++ sim/sh64/tconfig.h | 5 ----- 3 files changed, 10 insertions(+), 5 deletions(-) (limited to 'sim/sh64') diff --git a/sim/sh64/ChangeLog b/sim/sh64/ChangeLog index 92fcf75..95e792d 100644 --- a/sim/sh64/ChangeLog +++ b/sim/sh64/ChangeLog @@ -1,3 +1,8 @@ +2015-12-25 Mike Frysinger + + * sim-main.h (WITH_SCACHE_PBB): Move from ... + * tconfig.h (WITH_SCACHE_PBB): ... here. + 2015-12-24 Mike Frysinger * tconfig.h (SIM_HANDLES_LMA): Delete. diff --git a/sim/sh64/sim-main.h b/sim/sh64/sim-main.h index 7b24ab0..da8f516 100644 --- a/sim/sh64/sim-main.h +++ b/sim/sh64/sim-main.h @@ -7,6 +7,11 @@ sim-basics.h and cgen-types.h needs config.h. */ #include "config.h" +/* This is a global setting. Different cpu families can't mix-n-match -scache + and -pbb. However some cpu families may use -simple while others use + one of -scache/-pbb. ???? */ +#define WITH_SCACHE_PBB 1 + #include "symcat.h" #include "sim-basics.h" #include "cgen-types.h" diff --git a/sim/sh64/tconfig.h b/sim/sh64/tconfig.h index 4f4d9b7..b4e256f 100644 --- a/sim/sh64/tconfig.h +++ b/sim/sh64/tconfig.h @@ -5,8 +5,3 @@ /* ??? Temporary hack until model support unified. */ #define SIM_HAVE_MODEL - -/* This is a global setting. Different cpu families can't mix-n-match -scache - and -pbb. However some cpu families may use -simple while others use - one of -scache/-pbb. ???? */ -#define WITH_SCACHE_PBB 1 -- cgit v1.1