From c0931f26e3923c75a3edc114175bb88dc11c5497 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 22 Mar 2015 22:55:42 -0400 Subject: [PATCH] sim: clean up SIM_HAVE_BIENDIAN This define only applies when using the old run.o main. Document it as such, and delete it from mips/sh64 since both use nrun.o now. --- sim/common/ChangeLog | 4 ++++ sim/common/tconfig.h | 3 ++- sim/mips/ChangeLog | 5 +++++ sim/mips/sim-main.h | 3 --- sim/mips/tconfig.h | 4 ---- sim/sh64/ChangeLog | 4 ++++ sim/sh64/tconfig.h | 3 --- 7 files changed, 15 insertions(+), 11 deletions(-) diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index 655d98ac22d..c474abebb80 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,3 +1,7 @@ +2015-03-24 Mike Frysinger + + * tconfig.h: Note SIM_HAVE_BIENDIAN is deprecated. + 2015-03-24 Mike Frysinger * acinclude.m4 (SIM_AC_OPTION_HARDWARE): Move default option setting diff --git a/sim/common/tconfig.h b/sim/common/tconfig.h index fd8b5be47fe..4df076ee0c5 100644 --- a/sim/common/tconfig.h +++ b/sim/common/tconfig.h @@ -15,5 +15,6 @@ /* #define SIM_HAVE_SIMCACHE */ /* Define this if the target cpu is bi-endian - and the simulator supports it. */ + and the simulator supports it. + TODO: This is specific to the old run.o main. */ /* #define SIM_HAVE_BIENDIAN */ diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog index d5f8ec086e6..996144d6cb3 100644 --- a/sim/mips/ChangeLog +++ b/sim/mips/ChangeLog @@ -1,3 +1,8 @@ +2015-03-24 Mike Frysinger + + * sim-main.h (SIM_HAVE_BIENDIAN): Delete. + * tconfig.h (SIM_HAVE_BIENDIAN): Delete. + 2015-03-24 Mike Frysinger * configure: Regenerate. diff --git a/sim/mips/sim-main.h b/sim/mips/sim-main.h index 53acf68216e..3c0e9bb9cbf 100644 --- a/sim/mips/sim-main.h +++ b/sim/mips/sim-main.h @@ -24,9 +24,6 @@ along with this program. If not, see . */ /* #define SIM_ENGINE_HALT_HOOK(SD, LAST_CPU, CIA) */ /* #define SIM_ENGINE_RESUME_HOOK(SD, LAST_CPU, CIA) */ -#define SIM_HAVE_BIENDIAN - - /* hobble some common features for moment */ #define WITH_WATCHPOINTS 1 #define WITH_MODULO_MEMORY 1 diff --git a/sim/mips/tconfig.h b/sim/mips/tconfig.h index 95e66b4dad5..fd97c3c0ad5 100644 --- a/sim/mips/tconfig.h +++ b/sim/mips/tconfig.h @@ -19,9 +19,5 @@ The target is required to provide sim_set_simcache_size. */ /* #define SIM_HAVE_SIMCACHE */ -/* Define this if the target cpu is bi-endian - and the simulator supports it. */ -#define SIM_HAVE_BIENDIAN - /* MIPS uses an unusual format for floating point quiet NaNs. */ #define SIM_QUIET_NAN_NEGATED diff --git a/sim/sh64/ChangeLog b/sim/sh64/ChangeLog index 8692f0fd5fa..beda6bec3eb 100644 --- a/sim/sh64/ChangeLog +++ b/sim/sh64/ChangeLog @@ -1,3 +1,7 @@ +2015-03-24 Mike Frysinger + + * tconfig.h (SIM_HAVE_BIENDIAN): Delete. + 2015-03-24 Mike Frysinger * configure: Regenerate. diff --git a/sim/sh64/tconfig.h b/sim/sh64/tconfig.h index 9d64be9e703..dbcf232c083 100644 --- a/sim/sh64/tconfig.h +++ b/sim/sh64/tconfig.h @@ -34,6 +34,3 @@ and -pbb. However some cpu families may use -simple while others use one of -scache/-pbb. ???? */ #define WITH_SCACHE_PBB 1 - -/* Define this if the target cpu is bi-endian and the simulator supports it. */ -#define SIM_HAVE_BIENDIAN -- 2.30.2