sim: clean up SIM_HAVE_BIENDIAN
authorMike Frysinger <vapier@gentoo.org>
Mon, 23 Mar 2015 02:55:42 +0000 (22:55 -0400)
committerMike Frysinger <vapier@gentoo.org>
Tue, 24 Mar 2015 04:39:00 +0000 (00:39 -0400)
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
sim/common/tconfig.h
sim/mips/ChangeLog
sim/mips/sim-main.h
sim/mips/tconfig.h
sim/sh64/ChangeLog
sim/sh64/tconfig.h

index 655d98a..c474abe 100644 (file)
@@ -1,5 +1,9 @@
 2015-03-24  Mike Frysinger  <vapier@gentoo.org>
 
+       * tconfig.h: Note SIM_HAVE_BIENDIAN is deprecated.
+
+2015-03-24  Mike Frysinger  <vapier@gentoo.org>
+
        * acinclude.m4 (SIM_AC_OPTION_HARDWARE): Move default option setting
        of enable_sim_hardware to AC_ARG_ENABLE.
 
index fd8b5be..4df076e 100644 (file)
@@ -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 */
index d5f8ec0..996144d 100644 (file)
@@ -1,5 +1,10 @@
 2015-03-24  Mike Frysinger  <vapier@gentoo.org>
 
+       * sim-main.h (SIM_HAVE_BIENDIAN): Delete.
+       * tconfig.h (SIM_HAVE_BIENDIAN): Delete.
+
+2015-03-24  Mike Frysinger  <vapier@gentoo.org>
+
        * configure: Regenerate.
 
 2015-03-23  Mike Frysinger  <vapier@gentoo.org>
index 53acf68..3c0e9bb 100644 (file)
@@ -24,9 +24,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 /* #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
index 95e66b4..fd97c3c 100644 (file)
@@ -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
index 8692f0f..beda6be 100644 (file)
@@ -1,5 +1,9 @@
 2015-03-24  Mike Frysinger  <vapier@gentoo.org>
 
+       * tconfig.h (SIM_HAVE_BIENDIAN): Delete.
+
+2015-03-24  Mike Frysinger  <vapier@gentoo.org>
+
        * configure: Regenerate.
 
 2015-03-24  Mike Frysinger  <vapier@gentoo.org>
index 9d64be9..dbcf232 100644 (file)
@@ -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